View Single Post
  #6  
Old 01-08-2011, 12:08 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by kingcj View Post
This worked for me, but I'm unsure why the .blah was needed when assigning. I'm not sure if the other is for GUIs or not, but thanks for the help!
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.0temp.temp.xs.size(); temp.i++) { 
  
temp.xs[temp.i].rabblerabble temp.xs[temp.i]; 

temp.xs.sortbyvalue("rabblerabble""float"true); 
__________________
Quote:
Reply With Quote