Can i know how to use the <algorithm> sort function in c++?

Is it possible to use that to sort the order in my string array?

Thanks