Arrange lifecycles by a logical order