Maps the Order enum to the values expected by the standard ECMAScript library when doing comparison (Array.prototype.sort, for example)