2

I have a json formated list of countries and their ISO codes:

.
.
{"cod":"NC", "nombre":"Nueva Caledonia"},   
{"cod":"NE", "nombre":"Níger"}, 
{"cod":"NF", "nombre":"Islas Norkfolk"},    
{"cod":"NG", "nombre":"Nigeria"},   
{"cod":"NI", "nombre":"Nicaragua"}, 
{"cod":"NL", "nombre":"Países Bajos"},      
.
.

The list is sorted alphabetically but by the ISO code and not by the name. Is there any way to sort this list by name using sublime text or any other editor ?

Thanks

Albert Prats
  • 736
  • 4
  • 15
  • 31

1 Answers1

1

If you split "cod" and "nombre" then you will be able to use SublimeText functional: Select text, Edit -> Sort Lines or press F5

Nuts
  • 31
  • 1
  • 5