Approach hintTry it first, then revealHide
Convert both strings to one case, for example with tolower, and compare them; the lexicographic comparison of std::string gives the sign directly.
Convert both strings to one case, for example with tolower, and compare them; the lexicographic comparison of std::string gives the sign directly.