External sorting and printing of 12 bit data extracted from binary file