Lore sorting