Added model ordering for paths