Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Sort Ascending (https://forums.graalonline.com/forums/showthread.php?t=66015)

KuJi 05-13-2006 06:17 PM

Sort Ascending
 
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"


All times are GMT +2. The time now is 03:52 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.