Wikidev
CATEGORY
CONTACT
APP
Sign Up
Login
Submit
You are here :
python_3
→
Built-in Functions
→
sorted
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