Standard-library sort function can not be used to sort values that are stored in a list.
std::list provides its own sort member function, which uses an algorithm that is optimized for sorting data stored in a list.
seen from United States

seen from Greece
seen from Netherlands
seen from Germany

seen from Uzbekistan
seen from United States

seen from Austria

seen from United States
seen from China
seen from Brazil
seen from United States
seen from Nigeria
seen from United States
seen from United States
seen from China
seen from United States
seen from United Kingdom
seen from Russia

seen from United States
seen from United States
Standard-library sort function can not be used to sort values that are stored in a list.
std::list provides its own sort member function, which uses an algorithm that is optimized for sorting data stored in a list.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Operations erase and push_back for std::list do not invalidate iterators to other elements
std::list does not support indexing
std::vector does
std::list is optimized for fast insertion and deletion anywhere within the container