order_by(+Spec,
:Goal)- asc(Term)
- Order solution according to ascending Term
- desc(Term)
- Order solution according to descending Term
This predicate is based on findall/3 and (thus) variables in answers are copied.
order_by(+Spec,
:Goal)This predicate is based on findall/3 and (thus) variables in answers are copied.