I have this table with a 'title' field which is varchar2 and I want to select all rows and sort them first by number and then by the alphabet as it normally happens.
For instance, I currently get this using a simple ORDER BY title
in the end:
- Abc
- Def
- 321
But I want this:
- 321
- Abc
- Def
The weird thing is that SQL Developer shows the "right" order, with numbers first. But on my app (PHP using OCI8) it shows numbers last.