Entry

Python: sort by semantic version

Solution

["1.0.0", "2.1.2", "1.0.1"].sort(reverse=True, key=lambda v: [int(n) for n in v.replace("esr", "").split(".")])