Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Conversation

@ThreePalmTrees
Copy link

@ThreePalmTrees ThreePalmTrees commented Jun 23, 2018

codepen
Not sure why the previous files are being added to the pull request,
and couldn't figure how to sort the option tags in an alphabetical order.. the closest one I got is like this:

let sortedSelect = selectTag.sort((opt1, opt2) => opt1.localeCompare(opt2));
// but the selectTag is an object and sort() works only on arrays, so I'm not sure how to handle that task

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants