risolto

Codice PHP:
select *
from property
order by abs
(substring(riferimento3)) 
grazie a tutti