Use "GEntityLessThan" to compare the vertices to avoid a different order each time resulting in non-deterministic behaviour.