There is a wordlist look like this;
123
b
1
4rr
f
k3j3
gg
Then I needed to sort these words by string length (doesn't matter which start with numeric or string both are okay)
The output should be this:
b
1
f
gg
123
4rr
4rr
Is there a sort command that allows me to do this?
-r
to thesort
command – Marco Sep 08 '22 at 14:58