The query I am running is
select accountid from general order by accountid ASC
The result I get is
accountid
------------
1
1001
1002
10021
10026
1006
1007
Why is it not ordering correctly? It's a simple query and I am completely lost at how I can resolve this matter.