PLD: abstract sort, no specific ids, closes #808