this.rankings = {{300, player.account}, {245, player.account}, {439, player.account}};
this.rankings = {{245, player.account}, {300, player.account}, {439, player.account}};
function onCreated() { // Join Sort Class join("math-sort"); // Echo Before.. this.rankings = {{300, player.account}, {245, player.account}, {439, player.account}}; echo(this.rankings); // Declare compareTo method. temp.func = function(sideA, sideB) { return ( sideA[0] < sideB[0] ); }; // Echo After temp.sorted = sortList( this.rankings, temp.func ); echo( temp.sorted );}