code: function overwrite(absolutePaths, options) {
    const paths = Array.isArray(absolutePaths) ? absolutePaths : [absolutePaths];
    const results = paths.map(path => overwriteFile(path, options));
    return results.length > 1 ? results : results[0];
  }
docs: Sorts the files json with the visit function and then overwrites the file with sorted json
  @see visit
  @param {String|Array} absolutePaths   - String: Absolute path to json file to sort and overwrite
  Array: Absolute paths to json files to sort and overwrite
  @param {Object} [options = {}]        - Optional parameters object, see visit for details
  @returns {*}                          - Whatever is returned by visit