Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Sorting by last name goes wrong when having multiple words as last name

@shanebp

Moderator

Try this:
"ORDER BY substring_index( substring_index(u.display_name, ' ', 2), ' ', -1 )";

Skip to toolbar