custom comparer « STL Algorithms Sorting « C++






1.Sort objects stored in deque
2.Use sorting criterion in sort function