I have a select dropdown which is dynamically populated with filenames from our server, on the server directory everything is ordered correctly.
But on the dropdown, it numbers higher integers above lower e.g. Australia #11 comes after Australia #100 etc, as shown in image.
Whilst I understand how to change order when it's in html, I'm not sure if this is possible when it's dynamically populated?
Also shown images which show it ordered correctly in directory but not in dropdown.
Dropdown:
Directory: