code: function sortTuples(tuples: Array<FileOptionsTuple>): Array<FileOptionsTuple> {
    return sortBy(tuples,
      tuple => (tuple[0].priority || 0) * -1,
      tuple => tuple[0].relative);
  }
docs: Sort tuples by priority first and then by src relative path.
  
  @this FileProvider
  @private