Arrange the definition order