added NaN test for check_ordered