Бих направил така:
select id, name from Table1 order by names + 0, names;
без да поръчам:
mysql> select * from alpha;
+---+-------+
| i | name |
+---+-------+
| 1 | ab001 |
| 2 | ab010 |
| 3 | aa002 |
| 4 | cc001 |
| 5 | cb010 |
| 6 | aaa02 |
+---+-------+
6 rows in set (0.00 sec)
С моето запитване:
mysql> select i, name from alpha order by name + 0, name;
+---+-------+
| i | name |
+---+-------+
| 3 | aa002 |
| 6 | aaa02 |
| 1 | ab001 |
| 2 | ab010 |
| 5 | cb010 |
| 4 | cc001 |
+---+-------+
6 rows in set (0.00 sec)