func (s Versions) Less(i, j int) bool {
	return s[i].LT(s[j])
}
Less checks if version at index i is less than version at index j
package semver
import (
	"sort"
)
type Versions []Version
func (s Versions) Len() int {
	return len(s)
}
func (s Versions) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}