This being a simple case, I thought the typical way to do it would be in the form:
sort { (defined($a) <=> defined($b)) || ($a cmp $b) }
In reply to Re^2: Sort undef
by SuicideJunkie
in thread Sort undef
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |