Finally sorting the path