public static void main(String[] args) throws IOException {
              
        Random random = new Random(System.currentTimeMillis());
		FileOutputStream fw = new FileOutputStream(MAIN_FILE);
		BufferedOutputStream bout = new BufferedOutputStream(fw);
		DataOutputStream dout = new DataOutputStream(bout);
        
        for (int i = 0; i < ITEM_COUNT; i++) {
            int ger = random.nextInt();
            ger = ger < 0 ? -ger : ger;
			dout.writeInt(ger);

        }
		dout.close();
        bout.close();
		fw.close();
        ExternalSort sort = new ExternalSort();
        System.out.println("Original:");

        long start = System.currentTimeMillis();
        sort.mSort(MAIN_FILE);

        
        long end = System.currentTimeMillis();
        System.out.println((end - start)/1000 + "s");
        recordFile((end - start)/1000 ,true);
    }