How to change the sequence of items added in any invoices?

Please go to Sales>>Invoices>>Edit>>“Drag and Drop” the product in the desired sequence.