When sorted in Views based on Location:Country, the sorting criteria bases it on the option value rather than the outputted value.

For example:
<option value="ae">United Arab Emirates</option>

is sorted alphabetically by Views before Argentina because it has a value of "ae."

Is there a way to change this in the backend of Locations?

Comments

mistaparker’s picture

Title: Sort with Views » Sort by Country with location in Views

Experiencing the exact same issue. After looking in the DB, it appears that Location stores the 2 character ISO code, which is the value that it is sorted by in Views. Unfortunately, there are Countries, such as United Arab Emirates, that have an ISO code (ae) that don't alphabetically match the full name, thus creating the perceived anomaly.

I certainly hope that there is an update provided to correct this issue, because being able to sort properly via Country is fairly useful.

amybrate’s picture

Running into this as well. Looks like it got fixed for D6...