sql - mysql order by, skip non-alphanumerics -


in doing mysql sort by title, following results:

#314: basket case $1.2 billion scam: ft. frauderdale (dis)members - m - ...and makes 3 3:10 yuma (2007) 

how ignore special characters, results sorted follows:

$1.2 billion scam: ft. frauderdale 3:10 yuma (2007) #314: basket case ...and makes 3 (dis)members - m - 

nested replaces achieve column without special char, ugly like

select replace(replace(field, '.', ''), '#', '') fld table order fld 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -