Update binding.py

Sort player output by index.