diff options
-rw-r--r-- | Aktywator/ParyTournament.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Aktywator/ParyTournament.cs b/Aktywator/ParyTournament.cs index 2ee7243..0c9209f 100644 --- a/Aktywator/ParyTournament.cs +++ b/Aktywator/ParyTournament.cs @@ -31,7 +31,7 @@ namespace Aktywator override internal Dictionary<int, List<string>> getNameList() { Dictionary<int, List<String>> pairs = new Dictionary<int, List<string>>(); - MySqlDataReader dbData = this.mysql.select("SELECT idp, CONCAT(imie, ' ', nazw) name FROM zawodnicy"); + MySqlDataReader dbData = this.mysql.select("SELECT idp, CONCAT(imie, ' ', nazw) name FROM zawodnicy ORDER BY idp"); while (dbData.Read()) { int pairNo = dbData.GetInt32(0); |