http://qs321.pair.com?node_id=1192615


in reply to Re: Sort undef
in thread Sort undef

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) }