in reply to sort @array help

Sounds a lot like homework to me. "I need foo but I can't use a foreach". =)

djw