Making Country selector but couldn't sort by Country's name. #130
|
EX: South Africa coutryCode is ZA, will be sort on the list. Any suggestions? |
Answered by
dmythro
Dec 10, 2023
Replies: 1 comment
|
Use |
0 replies
Answer selected by
dmythro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
getCountryDataList()orObject.entries()approach to get all data as array of objects and sort by any property you need.