String sort using stl

My answer isn’t passing the first test case. Kindly have a look https://ide.codingblocks.com/s/164999

Hi @yath17

You have to make certain changes in your compare function.

Here is your corrected code have a look at it :