refactoring uiElementCollection structure
refactoring uiElementCollection structure
fixing element sorting issues