diff --git a/currentVersions.go b/currentVersions.go index 4fc7814..d0a9c3f 100644 --- a/currentVersions.go +++ b/currentVersions.go @@ -231,7 +231,7 @@ func (a GitTagAge) Len() int { return len(a) } // sorts in ? order func (a GitTagAge) Less(i, j int) bool { - if time.Since(a[i].Authordate.AsTime()) > time.Since(a[j].Authordate.AsTime()) { + if time.Since(a[i].Authordate.AsTime()) < time.Since(a[j].Authordate.AsTime()) { return true } return false