Try this:
ORDER BY CAST(thecolumn AS int)
More Related Contents:
- Sort by column ASC, but NULL values first?
- SQL multiple column ordering
- What is the major difference between Varchar2 and char
- ORDER BY the IN value list
- SQL best practice to deal with default sort order
- How to order by with union in SQL?
- SQL Query – Using Order By in UNION
- Optimize query with OFFSET on large table
- How to use DISTINCT and ORDER BY in same SELECT statement?
- sql ORDER BY multiple values in specific order?
- Sorting null values after all others, except special
- How to use SQL Order By statement to sort results case insensitive?
- Can I do a max(count(*)) in SQL?
- How to update and order by using ms sql
- How to ORDER BY a SUM() in MySQL?
- SQL Server UNION – What is the default ORDER BY Behaviour
- Sort NULL values to the end of a table
- SQLite and custom order by
- PostgreSQL ORDER BY issue – natural sort
- Why do NULL values come first when ordering DESC in a PostgreSQL query?
- PostgreSQL: how to convert from Unix epoch to date?
- Alphanumeric sorting with PostgreSQL
- SQL ORDER BY date problem
- “Order By” using a parameter for the column name
- Custom Order in Oracle SQL
- SQL for ordering by number – 1,2,3,4 etc instead of 1,10,11,12
- SQLite Order By Date1530019888000
- how does SELECT TOP works when no order by is specified?
- How to get results in a custom order? [closed]
- Dynamic order direction