Pergunta de entrevista da empresa XR Trading

How would I list directories by their size?