How to order search results based on author field content I am using Drupal 8 search views, I would like to order the search result so that the content that's author has field &quot;X&quot; filled out should be ordered first and all other content where the author has field &quot;X&quot; empty shows up after. How can I achieve this with views
I made a relationship between the content and the author. I can access field &quot;x&quot; in the fields part of views, but it does not show up in the &quot;filter&quot; or &quot;order by&quot; parts.
You are almost have done it.

I made a relationship between the content and the author. I can access field &quot;x&quot; in the fields part of views, but it does not show up in the &quot;filter&quot; or &quot;order by&quot; parts.

add that fix &quot;X&quot; in sort section and sort it as Descending. when you make it descending contents with null values appear after those that have value.