Ignore value in ranking attribute

One of the attributes in the index includes a value that should be ignored.

Sample values include ‘0, 5, #, 25’

The rank these in order of 0, 5, 25, #

How can this be achieved?

Hi @andrew7,

My primary recommendation is that in an attribute, the values should be either all string or all numeric. Currently, it appears your attribute has a mix of values.

With a single type of value you can use sort-by and it will then be either asc/desc numerically or alphabetically.

See Sort By Attribute: https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute/