func SortPortRanges(portRanges []PortRange) {
	sort.Slice(portRanges, func(i, j int) bool {
		return portRanges[i].LessThan(portRanges[j])
	})
}
// SortPortRanges sorts the given ports, first by protocol, then by number.
SortPortRanges sorts the given ports, first by protocol, then by number.
// SortPortRanges sorts the given ports first by protocol then by number .
func SortPortRanges(portRanges []PortRange) {
	sort.Slice(portRanges, func(i, j int) bool {
		return portRanges[i].LessThan(portRanges[j])
	})
}
func SortPortRanges ( portRanges [ ] PortRange ) { sort . Slice ( portRanges , func ( i , j int ) bool { return portRanges [ i ] . LessThan ( portRanges [ j ] ) } ) }
SortPortRanges sorts the given ports, first by protocol, then by number.
SortPortRanges sorts the given ports first by protocol then by number .