How to sort values in "Filter By" popup for object-tables

Hello,
I would like to know if there is a way to sort values in “Filter By” popup for object-tables.
We have a table with users. The query for users are sorted by last name, then by first name if the last name is the same (green arrows).
The table also has a column for company name with filter=“true” parameter. But when we are opening the “Filter By” popup, the company names are sorted by their appearance in table (sorted by first name and last name), not by the company names itself.

Could we somehow have it sorted alphabetically (blue arrow)?
Thanks in advance!

Hi @khilda

There isn’t currently a way to implement this, unfortunately. However, we think this functionality would be a great update, so we have logged this as a feature request.

In the meantime, there may be some workarounds that you could try implementing. You can try implementing an actionSheet with a customer order on the items. Please reference the following posts for more information.

  1. Sort Filter Dialog
  2. Advanced Query Sorting

Let us know if it works or not!

Hi @molly,
Thanks for the links!

I’ve ended up with implementing sort filter with single and multiple choices selection thought actionSheet. The possibility to multi-select was implemented by storing previously selected values and visual representation of selected items by icons.

image

image

1 Like