add ordered floats and doubles