Sorting on a list predicate?

Sorry, but that’s not possible. You should do it at level application.