Update binding.py

Sort player output by index.
Fixed tests for new player ordering