Strings STL video(C++ Launchpad course)

not able to understand this part :
bool compare(string a ,string b)
{ return a>b;}