Sort:  

That would indeed probably be the cleverest way to do it.