Use SortedDictionary for Highscores instead of a simple Dictionary

This commit is contained in:
runebaas 2019-05-12 17:29:52 +02:00
parent 3e3cbc257e
commit 4833ccd65a
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
4 changed files with 6 additions and 6 deletions

View file

@ -25,7 +25,7 @@ namespace Geekbot.net.WebApi.Controllers.Highscores
return BadRequest(error);
}
Dictionary<HighscoreUserDto, int> list;
SortedDictionary<HighscoreUserDto, int> list;
try
{
list = _highscoreManager.GetHighscoresWithUserData(body.Type, body.GuildId, body.Amount);