Implement zorder in UiObjects.