PHP Code:
public function getTopAbyss(){
temp.guilds = getGuildList();
for (i=0; i<temp.guilds.size(); i++) {
temp.guilds[i].kills = this.guilds.(@temp.guilds[i]).kills;
}
temp.guilds.sortbyvalue("kills", null, true);
echo(temp.guilds);
}
Jer, I think you were a little messed up with your loop and setting the variable as
temp.g.kills, because based off what Chris posted you need to save it as a subvariable in the array, though I've never used
array.sortbyvalue() before.