## sortElementOrder ### Description This function is called internally and automatically after objects are added or removed from the container. It sorts all objects by their z-index and the time they were added, ensuring the correct order is maintained. This is essential for proper event handling and drawing order of objects within the container. As a user, you don't need to call this function directly, as it's automatically taken care of by the library. ### Usage No direct usage example is provided since this function is called automatically by the library when needed.