@NOTE (malej, 2024-05-08): This function does not automatically re-sort any layer list depending on the new z-index, it is up to the caller to make sure the re-sort happen when it is needed
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected