added comments for all the sorts