Discussion in 'Scripts' started by greatguys1, May 26, 2018.
Does a function exist to sort entries in a token or array to be alphabetized?
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.