code: func (i IndexFile) SortEntries() {
  	for _, versions := range i.Entries {
  		sort.Sort(sort.Reverse(versions))
  	}
  }
docs: // SortEntries sorts the entries by version in descending order.
  //
  // In canonical form, the individual version records should be sorted so that
  // the most recent release for every version is in the 0th slot in the
  // Entries.ChartVersions array. That way, tooling can predict the newest
  // version without needing to parse SemVers.