Posts are not correctly sorted by Meta Value on the frontend.
When looking at the admin page using AQL, the posts query works and is sorted correctly. When manually querying the REST API, the posts query works and is sorted correctly. When manually querying with WP_query and meta_query, the posts query works and is sorted correctly.
When viewing the front-end of the page using the AQL, the posts query are out of order. I’ve verified there is no pre_get_posts or other function modifying the main query.
Here is a screenshot of the admin settings:
The page I need help with: [log in to see the link]
I’m sorry you’re running into this. I’ll need to set this up locally to debug it. Can I assume that the last_name field is a the lowercase version of the last name being displayed?
Is this a custom post type or just posts with a category assigned?
Is the issue that there are missing people or just out of order? The reason I ask is that Laura Ambrose is missing from the provided link but in the screenshot.