Ability to toggle sort behavior for empty relations in set

WHAT DO YOU RECOMMEND

A button that when toggled, switches between treating empty relations as highest and lowest value. Effectively putting them at the beginning or the end of the sorted list.

HOW COULD IT BE DONE

A button can be added here:

And here (might have to tweak the UI a bit):
image

REAL WORLD USE CASES

When sorting relations in a certain direction, an empty relation (text, tag, status, etc…) should either be at the top of the list or at the bottom depending on the data they’re representing. In the case of tags and statuses, one could create a default entry (using templates) which has the highest or lowest priority, but for texts it is not as simple. A button in the sorting menu that toggles between these two behavior would be very helpful when faced with this exact problem.

RECOMMENDED ALTERNATIVES

No non-hacky alternative exists that applies to all relation types.

ADDITIONAL CONTEXT

None.

2 Likes

Related