How to easily list all directories and sort them by size on Linux

The ls command on Linux is used to list all the contents of any directory. However, to display more options and to sort all the directories by size, we have to use a different command known as du. In this…