I found this nifty little order by condition that sorts strings of the type "First Last" nicely, even handling "First Van Damn" properly.
"SUBSTRING(p.name, LOCATE(' ', p.name) +1)
Now, I have some names in there like "Alfred E. Newman" and want the sorting to work properly for that name (ie it does not end up under E).
Any help would be greatly appreciated.