Fixed sorting issue, balls are sorted in ascending order now.