Sort search by custom fields data

Hello list,

I would like to know why the possibility of sorting a search result by
customfields is available, but not effective?

For example, I have a custom field “Country” in which I fill the origin
site of the ticket. I would like to have the possibility to sort the
search result by this custom field, in order to group all tickets of a
similar country (But also display several countries). I know that I can
filter on one country, but my wish is to sort the result.

If, on the search page, I select “Order by:” -> CustomField.{Country},
the result won’t be sorted anyway.

Am I missing something?