Correct a way to sort date and time

The commit has no update of test, because JavaScript engines on Web browsers cannot reproduce WSH/JScript engine.