code: func NewRuntimeSorter(objects []runtime.Object, sortBy string) *RuntimeSorter {
  	parsedField, err := RelaxedJSONPathExpression(sortBy)
  	if err != nil {
  		parsedField = sortBy
  	}
  
  	return &RuntimeSorter{
  		field:   parsedField,
  		decoder: legacyscheme.Codecs.UniversalDecoder(),
  		objects: objects,
  	}
  }
docs: // NewRuntimeSorter returns a new instance of RuntimeSorter