apilayer / restcountries

Get information about countries via a RESTful API
https://restcountries.eu
Mozilla Public License 2.0
2.24k stars 353 forks source link

List of countries not alphabetical #299

Open israel-oye opened 5 months ago

israel-oye commented 5 months ago

The returned array of country objects is not in alphabetical order.

[
  {
    "name": {
      "common": "Cyprus",
      ...
      }
  },
  ...
]

Cyprus is the first country listed and this is not meant to be.

amatosg commented 5 months ago

are you using Api Layer's API?

and ordering should be on your side

EmanuelCav commented 5 months ago

I guess you are using this API:

https://restcountries.com/v3.1/all

amatosg commented 5 months ago

This is not the repository for the .com version. This is for the .eu version owned by apilayer

israel-oye commented 5 months ago

I guess you are using this API:

https://restcountries.com/v3.1/all

Affirmative. Is there anyway around this?

amatosg commented 5 months ago

This is not the repository for the .com version. This is for the .eu version owned by apilayer

@israel-oye again, this is not the correct repo.