Did you know ... Search Documentation:
Predicate keysort/2