Today's article will be relatively short and easy, as we have some fun with sorting the output of 'ls'. It'll…