I want to sort a dataviewjs task query by inline text metada like [Rating::]. There’s no problem when the metadata is a number, but idk how to do the query when the metadata is a text.
The trick is to somehow turn your value into a sortable value. One way to do so is to use your value as the key into a dictionary of their assigned numerical value.
I.e. one star could then be 1, two stars 2, and so on.