in reply to Sorting binary

Check out File::Binary.