oqueeh
.net
All topics
>
Python
Sorting lists in Python
sl
=
sorted
([
2
,
4
,
1
,
3
],
reverse
=
True
)
reverse
is optional.
See also
Custom list sorting