Wow, I never would have guessed that ORDER BY stuff was part of the standard. Seems like one of the special corners of SQL.
From that brief read of the ANSI Spec it seems like one would need a great deal of time and some advanced mathematics to understand it.