Infosys interview question

They asked about sorting in C++