func (list directoryList) Less(i, j int) bool { return verstr.Less(list[i].Name, list[j].Name) }
// Less compares the hostnames of left and right. func (mdb *Mdb) Less(left, right int) bool { return verstr.Less(mdb.Machines[left].Hostname, mdb.Machines[right].Hostname) }