code: function updateChangeReason(sName) {
  			if (sName === "$filter" || sName === "$search") {
  				sChangeReason = ChangeReason.Filter;
  			} else if (sName === "$orderby" && sChangeReason !== ChangeReason.Filter) {
  				sChangeReason = ChangeReason.Sort;
  			} else if (!sChangeReason) {
  				sChangeReason = ChangeReason.Change;
  			}
  		}
docs: /*
  Updates <code>sChangeReason</code> depending on the given custom or system query option
  name:
  - "$filter" and "$search" cause <code>ChangeReason.Filter</code>,
  - "$orderby" causes <code>ChangeReason.Sort</code>,
  - default is <code>ChangeReason.Change</code>.
  
  The "strongest" change reason wins: Filter > Sort > Change.
  
  @param {string} sName
  The name of a custom or system query option