sort [container | me | here]
autosort [container | me | here]
Allows you to change the order in which objects appear within a container, in the room, or the order in which items you're wearing appear. If you use the SORT command alone, it will prompt you for the exact order in which you wish everything to appear. If you use the AUTOSORT command, however, it will attempt to make a best guess at how things should be arranged. This typically involved clustering similar objects together and ordering everything by how 'advanced' it is. It's recommended to use SORT over AUTOSORT.
To sort your clothing: sort me
To sort your furniture: sort here
To sort your backpack: sort backpack