in reply to Re: Sort problem
in thread Sort problem

You and previous poster are almost there. But instead of setting $" to a byte that's not expected to be present, set it to the empty string:
{ local $" = ""; @out = sort {"@$a" cmp "@$b"} @in; }

You can combine that with a GRT or an ST.

Abigail