Orders two inventory entries by type and then by hash.
Declared in <protocol.h>
<protocol.h>
bool operator<( CInv const& a, CInv const& b);
true if a sorts before b by type and then by hash.
a
b