How can I sort packing slips by condition, type, and vendor?

I’ve seen that you can sort packing slips:

https://community.shopify.com/topic/942710

The example in the link above sorts by SKU:

{% assign line_items = line_items | sort:“SKU” %}

I’m wondering what other variables can I sort by? Can I sort by:

Condition

Type

Vendor

Can I do a multi-sort that uses all three of the above variables?

Thanks!

Hey! Where would I enter this code to sort the product by sku? My employees are running all over the warehouse because its shelved numerical by sku #. Thanks for your help!