add some comments to make SortShuffle hopefully easier to follow