Search code examples
htmlusability

Should we sort country list?


I just wrote a list of country from the Wikipedia ISO 3166-1

My goal is to use it in select inside my xhtml, but it's a huge list. How many are you from Aruba? But how many are you from United Kingdom, France, or even United States of America?

Sometimes, I can see that the most common countries are listed at the top of the list.

Is it a good practice? Why and why not?


Solution

  • This is a web application. I'm not sure if any sites do it, but you could sort the list alphabetically, and use IP Geolocation to guess a country to put as the default. It won't be right 100% of the time, but it might make filling out the form easier for the people you do get right...