Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_sets
sort/1
Description
sort/1 is an Erlang function exported by "age_sets" module.
Returns List as a sorted set of unique items in ascending order.
References
None
Parameters
Name
Type
List
list()
List of terms
Result
Value or Type
Returns sorted list of terms.
Code Sample
> age_sets:sort([z, 3, y, 2, x, 1]). [x,y,z,1,2,3]