code: function getSortingPropertyName(property) {
    if (property.type === 'ExperimentalSpreadProperty') {
      return `...${property.argument.name}`;
    }
  
    if (property.key.type === 'Literal') {
      return property.key.value;
    }
  
    if (property.key.type === 'Identifier') {
      return `${property.key.name}`;
    }
  }
docs: @function getSortingPropertyName
  
  @description
  get the name used for sorting purposes
  
  @param {Object} property the property to get the name from
  @returns {string} the property name used for sorting