Inputs
Output
Numbers are compared numerically and strings use locale-aware text ordering.
When Object Path is set, those same rules apply to the value at that path.
Items whose compared values are not both numbers or both strings compare as
equal, so their relative positions are preserved.