Updated depth list so that last modified node is on top on similar node values.