Corpse Sorting…will arrange all your corpses in your inventory, smuggled or carried by your undead into size order. Currently this will sort all of the smallest corpses into your inventory and transfer the largest corpses to your undead or smuggled inventory (reverse sorting coming in a future update).

This code should be saved in a file called "CorpseSort.tin"
Then set up a tt++ alias (or type in) "#READ CorpseSort.tin"…it will read in the code, do the sorting and then remove itself again.

N.B. Needs the mudside aliases specified in the comments at the top of the program for it to work.