Closed GabrielMajeri closed 6 years ago
Right now, the Api versions are compared as strings, instead of element by element. This makes ordering by version sort incorrectly.
Api
Here is an example of sorting by API version.
I would expect 1.0.26 to come above 1.0.3, but it's below, because the string "1.0.2" is below "1.0.3".
1.0.26
1.0.3
Right now, the
Api
versions are compared as strings, instead of element by element. This makes ordering by version sort incorrectly.Here is an example of sorting by API version.
I would expect
1.0.26
to come above1.0.3
, but it's below, because the string "1.0.2" is below "1.0.3".