How to sort a list in Python with sort function

preview_player
Показать описание
Watch this video from Joey to learn how to sort a list in python with sort function.
In fact, I will be telling you how to sort a list in python using sorted method as well. Yes, and in the same video you will be learning how to sort a list in Python without sort method as well. So make sure you watch this video till the end.

The methods and strategies of sorting a list given in this video are enough for you to impress the interviewer in your next python interview or your boss or colleagues in your company.
Below is the list of contents that you will be learning in this python programming video.

00:00 - Introduction
00:50 - sort()
01:08 - sorted() method
02:21 - sort a list in python in descending order (reverse argument)
03:23 - how to sort a list in python in a customized way (key argument)
04:41 - sort a list of tuples based on second element of the tuples
05:35 - case insensitive sorting of python lists
06:44 - sort a list of dictionaries based on dictionary keys

Don't stop here, watch on to learn
what is a tuple in Python?

Don't forget to hit the like button because that gives me a big booster to produce videos like such.

************************
Recommended for you
************************
Generators in Python

Yield Keyword in Python

Python Closures

Decorators in Python
Рекомендации по теме