Giving some comments for functions used by the sorting feature.