Documentation Prolog Predicate Reference lists msort/2

msort/2

Check standard order.

Description

msort(List, OrderedList) is true if and only if OrderedList is an ordered version of List according to the Standard Order of Terms. Unlike sort/2, msort doesn't remove duplicates values.

Implementation