You can also ORDER BY simple-integer
simple-integer must be greater than 0 and not greater than the number of columns in the result table. The integer n identifies the nth column of the result table.
For example:
select name, integer(A_NUMBER)
from address
where town like 'qwertz'
order by 2
In any order by clause, the order by column must be in the select list.