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