As far as i know sorting bods alphabetically will cause alot of problems. You could probably do it but it will require you to list every type of bod possible to get inside the gump using strings. If possible you might get problems with large bods as it houses many different types.
 
i think with the sort function you want make it easyier to access to certain content?
The difficult comes into way of the amount of different filter methods.
Do you want to sort by name?
So if you have 8x the same lbod Type with different numbers and colors they can be random as long as name is correct?
You want to sort those as well? Dont forget, the user may setted up custom filters so some stuff shouldnt be visible and whats the correct order then?

The complexity comes about the multiple filter level you have to resolve => Name , Type , Size , Color , CraftType, Fillstate
 
Back