Here is a syntax for you to try, using one of these:
order by asc; (ascending)
order by desc; (descending)
select * from my_table where what_i_want > 5 and what_i_want < 10 order by what_i_want asc;
that will give you the following, in this order:
6
7
8
9