Comparing and ordering decimal numbers