I don't think you understand what's going on, when you use sortbyvalue, added comments to show what's going on.
PHP Code:
public function getTopAbyss(){
// Initialize Array
temp.guildzname = getGuildList();
// Loop through Array
for (temp.g: temp.guildzname) {
// You have to assign the kills to the member in the array
temp.g.kills = this.guilds.(@temp.g).kills;
}
// Then you sort.
temp.guildzname.sortbyvalue("kills", null, false);
// Now you do stuff..
// temp.guildzname[0] would be the guild name with the most kills, and so on.
}