If
Heliod, God of the Sun and
Humility are on the battlefield, and the player doesn't have enough devotion to white, we have this:
Layer 4: Heliod stops being a creature.
Layer 6: Humility doesn't affect Heliod since Heliod isn't a creature.
Layer 7b: Humility doesn't affect Heliod since Heliod isn't a creature.
If
Heliod, God of the Sun and
Humility are on the battlefield, and the player
does have enough devotion to white, we have this:
Layer 4: Nothing happens, since Heliod's condition isn't met.
Layer 6: Heliod loses all abilities.
Layer 7b: Heliod becomes 1/1.
Those two situations are the only possibilities. Since the effects are all in different layers, timestamps don't matter.
(Well, if there are also other creatures involved, the relative timestamps would matter for whether they have vigilance or not, since both Heliod's vigilance-granting and Humility's ability-removing are in layer 6. So in the situation where the player doesn't have enough devotion to white but does control other creatures, those other creatures will have vigilance if and only if Heliod entered the battlefield after the Humility.)
The layer system is really the key here. At every point in the game, to determine the game state, you go through all the continuous effects and apply them in layer order. So for a layer 4 effect, you have to consider the base characteristics of the objects and any changes from layers 1-3, but you don't get to peek ahead at what layers 5-7 will do and you don't consider what the game state was like at some previous time.