public int CompareTo(GOFilterEntry other) { if (m_Specificity > other.m_Specificity) { return(-1); } if (m_Specificity < other.m_Specificity) { return(1); } return(Id.CompareTo(other.Id)); }
public int CompareTo(SceneBinding other) { int buildIdxComp = BuildIndex - other.BuildIndex; if (buildIdxComp < 0) { return(-1); } if (buildIdxComp > 0) { return(1); } return(Id.CompareTo(other.Id)); }