Pretty great example on how the unix pipeline of strings falls apart because the data is so constrained by formatting.
Slightly cleaner solution would be something like
du | sort | numfmt
(with appropriate flags)https://www.gnu.org/software/coreutils/manual/html_node/numf...