std::sort - cppreference.com
first, last - the range of elements to sort comp - comparison function object (i.e. an object that satisfies the requirements of Compare) which returns true if the first argument is less than (i.e. is ordered before) the second. The signature of the compa...