I have a list of semantic code versions and I would like to sort it based on semver. Here is an example where the default sort is incorrect:
['0.0.1', '0.0.2', '0.1.0', '0.10.0', '0.11.0', '0.12.0', '0.13.0', '0.13.1', '0.13.2', '0.14.0', '0.15.0', '0.16.0', '0.17.0', '0.18.0', '0.19.0', '0.2.0']
'0.2.0' should come before '0.10.0'. I know there are semantic libraries but didn't see any examples of how to sort with them, rather they check for validity of the semantic version.