Hello,
Take a look at the section of the
The Java Language Specification that Vanitha quoted from. It describes what it means by ordered:
Except for NaN, floating-point values are ordered; arranged from smallest to largest, they are negative infinity, negative finite nonzero values, positive and negative zero, positive finite nonzero values, and positive infinity.