zopsicle / crai

Cryogenic Raku Archive Index
https://crai.foldr.nl
1 stars 1 forks source link

Correctly sort version numbers #6

Closed zopsicle closed 4 years ago

zopsicle commented 4 years ago

Currently we sort version numbers textually, but it should be done properly. Because of this, 3.4 is considered higher than 3.10.

This is difficult with SQLite, but there are two possible solutions:

AlexDaniel commented 4 years ago

Possibly related: https://github.com/osquery/osquery/issues/5196

zopsicle commented 4 years ago

Done! Using the normalization tactic.