Patch Set 1:

Note to self: The comparator should be overhauled anyway, the result is not correct for e.g. ["project-1-0-0-final", "project-1-0-1-beta"] because it uses "project----final" and "project----beta" for comparing.