Thank you John, that works perfectly!
As a follow up, If I filter the posts by surname, the results are no longer in ascending order by forenames.. Does this mean I have to find a separate means of targeting the filtered results?
Thank you John, I think I now understand what the query is doing.. However I’m getting an error which suggests the arrays are incorrect? See the error at the bottom of the image:
Thanks John, though I don’t understand enough to know how to adapt my code. Is there a simple couple of lines I can add?