Added two sorting methods
Ranking finished