0_0_24591286_21732.cpp: In function 'int main()': 0_0_24591286_21732.cpp:12:52: error: 'sort' was not declared in this scope sort(list.begin(), list.end(), less<char>()); ^