Refactoring: reproducing the lowercase, article-ignoring sort in Postgres. This is definitely premature optimisation.