I have a series of book titles that I am trying to sort in<br>
my sql query. I would like to be able to ignore "The", "A" and other common words at the start of a field<br>
<br>
e.g.<br>
<br>
"The Old Man and the Sea" should be sorted under "O" not "T".<br>
<br>
Is it possible to write a custom sort in SQL, or do I need to create a separate row with the common headings removed, and then sort on that row?<br>
<br>
e.g.<br>
<br>
title = "The Old Man and the Sea"<br>
sort_title = "old man and the sea"<br>
<br>
Thanks!<br>
<br>
:meester<br>
<br>
<br>
<br>
<br>
<br>
<br>
my sql query. I would like to be able to ignore "The", "A" and other common words at the start of a field<br>
<br>
e.g.<br>
<br>
"The Old Man and the Sea" should be sorted under "O" not "T".<br>
<br>
Is it possible to write a custom sort in SQL, or do I need to create a separate row with the common headings removed, and then sort on that row?<br>
<br>
e.g.<br>
<br>
title = "The Old Man and the Sea"<br>
sort_title = "old man and the sea"<br>
<br>
Thanks!<br>
<br>
:meester<br>
<br>
<br>
<br>
<br>
<br>
<br>