When i sort by a custom field and there is no data in a post for that field the post does not display.
1 year ago
This is in fact a feature that can be disables in our settings page.
Have a look at the setting show all results when sorting. Default is off.
If you have a large database, this could have an inpact your performance.