
01-08-2011, 12:37 AM
|
Registered User
|
 |
Join Date: Apr 2006
Location: TN
Posts: 114
|
|
Quote:
Originally Posted by fowlplay4
That's the variable sortbyvalue grabs the value from to sort it by, you could use rabblerabble if you wanted to.
I.e:
PHP Code:
temp.xs = {1,6,7,3,2,1,5,23,41,75,2347,51,123};
for (temp.i = 0; temp.i < temp.xs.size(); temp.i++) {
temp.xs[temp.i].rabblerabble = temp.xs[temp.i];
}
temp.xs.sortbyvalue("rabblerabble", "float", true);
|
Oh... Thank you very much! |
__________________
Zie
"It is not necessary to change. Survival is not mandatory." - W. Edwards Deming
|
|
|