JLILLY sorting