in reply to useless use of sort???

Strange looking code you have.