If I have two sibling components, and I want to find out if one is on top of the other in the zorder, is this the correct way to do it?
if (getParentComponent()->getIndexOfChildComponent(other) > getParentComponent()->getIndexOfChildComponent(this))
If so, it would be nice if Component had a function for doing this.