Study STL sort method.