public static void readNonSortedWriteSorted(String fileToReads, String fileToWrite) {
    ArrayList<InterChrContact> contacts = null;
    try {
      contacts = readRawInterContactInformation(fileToReads);
    } catch (IOException ex) {
      Logger.getLogger(SortInterChrContacts.class.getName()).log(Level.SEVERE, null, ex);
    }
    Collections.sort(contacts);

    try {
      writeRawInterContactInformation(contacts, fileToWrite);
    } catch (IOException ex) {
      Logger.getLogger(SortInterChrContacts.class.getName()).log(Level.SEVERE, null, ex);
    }
  }