20 May 2022 Emad Bin Abid How to Sort a List of Tuples in Python Are you confused about sorting lists of tuples in Python? Want to know how to sort them efficiently? This introduction will cover everything you need to know to master this type of sorting. Lists and tuples are essential data structures in Python. In several cases, you may have to sort a list of tuples. This post will teach you how to utilize the sorted() function and the sort() method and the distinctions between the two. Read more 31 Mar 2022 Xavier Rigoulet How to Sort a List Alphabetically in Python What if you have a list of strings (text items) and you need to sort them alphabetically? In this article, we’ll show you how to sort a list in Python. A sorting algorithm puts elements of a list into a particular order. They help reduce the complexity of a problem and can even optimize other algorithms. Because of its complexity, sorting is one of the most important problems in computer science. Read more