From 33dc66a4d23246b5794cf9ca5bd4287a72db4cec Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 29 Sep 2014 22:00:14 +0200 Subject: RankMgr: GetAllPlayers() returns players sorted by name. --- src/RankManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/RankManager.cpp') diff --git a/src/RankManager.cpp b/src/RankManager.cpp index 4abe8d1e1..f5342ed3d 100644 --- a/src/RankManager.cpp +++ b/src/RankManager.cpp @@ -671,7 +671,7 @@ AStringVector cRankManager::GetAllPlayerUUIDs(void) AStringVector res; try { - SQLite::Statement stmt(m_DB, "SELECT PlayerUUID FROM PlayerRank"); + SQLite::Statement stmt(m_DB, "SELECT PlayerUUID FROM PlayerRank ORDER BY PlayerName COLLATE NOCASE"); while (stmt.executeStep()) { res.push_back(stmt.getColumn(0).getText()); -- cgit v1.2.3