On Sun, Sep 27, 2020 at 3:56 PM Kyle Meyer <kyle@xxxxxxxxxx> wrote: > (Also, I'm not sure > what the wider context for this sorting is, but perhaps just > --sort=-version:refname would do what you want?) Unfortunately, I can't make any assumptions about how the versions look. This is for Dunamai ( https://github.com/mtkennerly/dunamai ), which computes a dynamic version based on the distance from the most recent version-like tag. Although it encourages a reasonable default, the meaning of "version-like" can be configured to handle arbitrary versioning schemes. MTK