Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-13-2006, 06:17 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
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"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:18 PM.


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