---

Python List Sort

In Python, you can sort a list using the built-in list.sort() method or the built-in sorted() function.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis