The sorted() function is a built-in Python function that can be used to sort any iterable, including lists of numbers.
Another technique to sort a list of numbers is to use the sort() method. The sort() method is a built-in Python method that sorts the list in-place, meaning it modifies the original list without creating a new list.
[
Collection
]
[
|
...
]