Update sorting.py

Added comments, as I forgot to do so before :(