Compare four C++ strings and sort them by length

How do I compare four c++ strings and sort them by length ? I know how to compare 2 strings with the > operator and sort them, but how do I do it with four strings ?

I am totally new and I have no idea what I am doing :-(

Google is more or less useless.
closed account (48T7M4Gy)
Find the least longest string out of the 4. Then find the least longest out of the remaining 3 ... etc
Topic archived. No new replies allowed.