I want to create a table of records, such as:
id name score kills deaths
1 Player1 10 1 1
2 Player2 20 2 4
3 Player3 50 5 3
came to this method:
class Players {
int id;
string name;
int score;
int kills;
int deaths;
}
But there was a problem sorted. I can use the system.array.sort, but only on a one-dimensional array.
Just heard about ICompare to sort multidimensional array, but do not know how and where to use it.
Tell me please.