String sort compilation error

did i missed any header file? plse help me out

Verify the link you have shared. It does not have the code of question “string sort”