In 80 compatibility mode and earlier, non-integer constants are allowed (and ignored) in the ORDER BY clause. In 90 or later ...