Sort elements in range Sorts the elements in the range [first,last) into ascending order. The elements are compared using operator< for the first version, and comp for the second. Elements that would compare equal to each other are not guaranteed to keep their original relative order. |