Documentation sort/2
available from version beta

sort/2

Checks standard order.

Description

sort( +list, -list )

sort(List, OrderedList) is true if and only if OrderedList is an ordered version of List according to the Standard Order of Terms.

Implementation