Sort:  

That's the idea! We just have to write a program that's robust enough! ;)