added sorting and decrement for specific player