predsort(+Pred, 
+List, -Sorted)<, > 
or
=. If the built-in predicate compare/3 
is used, the result is the same as sort/2. 
See also keysort/2.
predsort(+Pred, 
+List, -Sorted)<, > 
or
=. If the built-in predicate compare/3 
is used, the result is the same as sort/2. 
See also keysort/2.