code: func sortMergeListsByName(mapJSON []byte, schema LookupPatchMeta) ([]byte, error) {
  	var m map[string]interface{}
  	err := json.Unmarshal(mapJSON, &m)
  	if err != nil {
  		return nil, mergepatch.ErrBadJSONDoc
  	}
  
  	newM, err := sortMergeListsByNameMap(m, schema)
  	if err != nil {
  		return nil, err
  	}
  
  	return json.Marshal(newM)
  }
docs: // This function takes a JSON map and sorts all the lists that should be merged
  // by key. This is needed by tests because in JSON, list order is significant,
  // but in Strategic Merge Patch, merge lists do not have significant order.
  // Sorting the lists allows for order-insensitive comparison of patched maps.