fix Issue 5854 - Built-in array sort doesn't sort SysTime correctly