PDA

View Full Version : Sort Ascending


KuJi
05-13-2006, 07:17 PM
Uhm, I seen this on the wiki.

sortascending();
I've tried numerous ways to get it working, maybe someone else can with a multidimensional array like this:
ranks="1,Leader,1,1,1,1","4,Test,0,0,0,0","3,Test2,0,0,0,0"

Basically, it should sort it so that the first number in the arrays are in order

This:
ranks="1,Leader,1,1,1,1","4,Test,0,0,0,0","3,Test2,0,0,0,0"

Should End up like This:
ranks="1,Leader,1,1,1,1","3,Test2,0,0,0,0","4,Test,0,0,0,0"