var/list/wee=list("")
for(var/obj/Choose_Character/x in world)
wee+=x
wee+="Cancel"
Hm, well my question is there a way I can put the list in alphabetical order that isn't too hard to do?
ID:170129
Mar 19 2005, 11:30 am
|
|
Okay, I have a list.
var/list/wee=list("") Hm, well my question is there a way I can put the list in alphabetical order that isn't too hard to do? |
var/FirstLetter = text2ascii(ckey(src.Name),1)
That would be a start. Of course you'd need to match each person from the old list with each person from the old list to see if they are higher number.
Well, that's a sample thingy -.-'
I didn't double check or anything. So don't copy and paste...just get an idea or two.
-Ryan