added Number.isNaN shim
moving alphanumeric array sort options to the main global object