Sorting entries in a token or array?

greatguys1

Epic Adventurer
MSC Developer
Warriors of the North
MSC Archivist
Joined
Apr 20, 2013
Messages
333
Reaction score
58
Age
25
Location
Yes
Does a function exist to sort entries in a token or array to be alphabetized?
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Eh... Nope. $sort_entlist() does range, hp, maxhp, mp, and maxmp, but that's it.

It'd be simple enough to code/script a sort for token arrays (fine scriptside, provided you aren't doing it often). With real arrays though, bit screwier, seems sometimes you gotta be careful about rapidly removing elements from real arrays (and never use "erase"), so any sort method that uses another array is risky.
 
Top