Potresti usare qualcosa come: ORDER BY Cast(regexp_replace(yourcolumn, '[^0-9]', '', 'g') as integer)