YOUR AD GOES HERE

Your Numbers Are Sorted Wrong. 100 Comes Before 9.

Published 08, Nov 2026


Description:
Your list is sorted wrong and nothing told you.

`sort` compares text, not numbers, so 100 comes before 9 and 2 comes last. The order looks deliberate. It is alphabetical.

Commands in this video, with the output they really produced:

printf '10\n9\n100\n2\n' → n.txt
sort n.txt
sort -n n.txt

Commands run live in a sandbox; nothing on screen is typed by hand.

#bash #linux #sort #shell #linuxforbeginners #shorts

Releted More Videos

  • Sorry!!! Nothing to show

You May Also Like

YOUR AD GOES HERE

YOUR AD GOES HERE