Printer Template Sort Orders by Order State:X

Take a look here I think this described what you are doing.

The way I understand it it sorts alphabetically unless you specify prefixes on groups by numbers and use Product Tag sorting