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


in reply to Sort undef

Surprised nobody's suggested the Schwartzian transform on this one. Combined with marinersk's sentinel technique, it's a nice, simple, efficient solution.
@$ResultsFinal = map { $_->[1] } sort { $a->[0] cmp $b->[0] } map { [deaccent($_->[$OptOrderToDisplayTable]) // chr(255), $_] } @$ResultsFinal;