3 lines
55 B
Erlang
3 lines
55 B
Erlang
|
|
List = [2, 4, 3, 1, 2].
|
||
|
|
SortedList = lists:sort(List).
|