func (p PortRange) LessThan(other PortRange) bool {
	if p.Protocol != other.Protocol {
		return p.Protocol < other.Protocol
	}
	if p.FromPort != other.FromPort {
		return p.FromPort < other.FromPort
	}
	return p.ToPort < other.ToPort
}
// LessThan returns true if other should appear after p when sorting a port
// range list.
LessThan returns true if other should appear after p when sorting a port
range list.
// LessThan returns true if other should appear after p when sorting a port // range list .
func (p PortRange) LessThan(other PortRange) bool {
	if p.Protocol != other.Protocol {
		return p.Protocol < other.Protocol
	}
	if p.FromPort != other.FromPort {
		return p.FromPort < other.FromPort
	}
	return p.ToPort < other.ToPort
}
func ( p PortRange ) LessThan ( other PortRange ) bool { if p . Protocol != other . Protocol { return p . Protocol < other . Protocol } if p . FromPort != other . FromPort { return p . FromPort < other . FromPort } return p . ToPort < other . ToPort }
LessThan returns true if other should appear after p when sorting a port
range list.
LessThan returns true if other should appear after p when sorting a port range list .