in reply to Sorting Issue

I think you may be not showing us something important. It looks to me as though you are assigning a scalar value ($status) to an array (@strings). This makes @strings an array containing one value and therefore the sort will have no effect at all.

Or am I missing something obvious?

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg