sortedArray(val) {
			return this.toArray(val).sort(naturalCompare);
		}
Converts the given value to an array using toArray() if needed,
performs a numerical sort using naturalCompare() and returns the
result. If the input already is an array, no copy is being made
and the sorting is performed in-place.

@see toArray
@see naturalCompare

@param {*} val
The input value to sort (and convert to an array if needed).

@return {Array<*>}
Returns the resulting, numerically sorted array.