What is ordering logic when you add a product from admin. Sales -> Order -> Create New order -> Choose Customer -> Add Products
If you search by product ID and choose product and after you search for another product and choose. Press "Add selected products to Order".
The ordering of the products is not in order as I added. The order is by IDs. So the smallest is first and biggest last. If we can change it by time the tick box is clicked.
i think the code is in this file
Does somebody know where to change the logic?
The only working solution is when you search for product and press "Add selected products to Order". after you search for another product again and press "Add selected products to Order". Then the order is fine.
I know its strange question. but one my client wants this. I dont know how to google it at all and where to dig.