Effective ways to sort Python iterables

The traditional way to sort iterables is by using loops, like for loop or while loop. As part of this article, I’m not going to cover this traditional way, rather I’ll be focusing on a better way to implement sorting.
And that better way is by using sorted function.
Let’s take a look at below list holding some numbers:
numbers = [2,3,6,4,9,1]