You are here : python_3Built-in Functionssorted

sorted() - Built-in Functions

Return a new sorted list from the items in iterable.


Syntax

sorted(iterable[, key][, reverse])


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference