View Single Post
  #19  
Old 10-12-2008, 02:40 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
HTML Code:
  temp.numbers = {1,4,6,2,65,20,200,4000,40,200};
  for (i: temp.numbers) {
    temp.e.add(i);
    temp.e[temp.c].sortvalue = i;
    temp.c++;
  }
  temp.e.sortbyvalue("sortvalue", "float", false); //Change to true for other way
  for (temp.i: temp.numbers)  
    sendtorc(e[temp.numbers.index(i)]);
works better I suppose...?
Reply With Quote