Sort the factoids correctly.