public int CompareTo(BookBlockIndices other) { int result = BookIndex.CompareTo(other.BookIndex); if (result == 0) { result = BlockIndex.CompareTo(other.BlockIndex); } return(result); }