I\'m trying to sort a table by substring of the string column (originalUrl).
I executed a raw SQL query and it worked well: