how do i sort the invoices created in order printer by sku?

19 0 6

I am trying to make it so that the shopify order printer ap will list my invoice items in alphabetical order by sku so that my order pulling takes less time than it would with the current order, which i think is just the order that the customer added the items to their shopping cart


please see image here to see how it makes the invoice now




so what i would want in this example is for AMZ-2 then BCA-19 then BCA-20 and all their associated values to be listed from top to bottom in alphabetical order


here is my current code for this section of the page here:




would greatly appreciate any help with this



Replies 0 (0)