Minor improvement over a couple of the solutions provided:
(to some, anyway) - tyesort { !length($a->[0]) <=> !length($b->[0]) || $a->[0] cmp $b->[0] }
In reply to Re: sort empty string (||)
by tye
in thread sort empty string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |