even after writing #include in the online compiler for c++, its still showing error at the sort, its not working.
hi @dhruvbains41_f4a2b1bd46c7d36b add #include <bits/stdc++.h this will include everything
#include <bits/stdc++.h