public int CompareTo(ChunkIdComponent other) { return(Value.CompareTo(other.Value)); }
public int CompareTo(BatchGroupIdentity other) { var chunk = Chunk.CompareTo(other.Chunk); return(chunk != 0 ? chunk : MaterialIdentity.CompareTo(other.MaterialIdentity)); }