Orders and invoices are numbered sequentially. You can specify which number the order/invoice numbering should start from.
You can find the number series in the menu Settings -> Number Series.
In "Last Order Number" the last assigned order number is shown. In "Last Invoice Number" the last assigned invoice number is shown.