Fixed bug with sorting players