I am trying to get the jobs sequence using this
but it is not giving me exact sequence. Let suppose correct sequence of jobs on a particular route is stop4-> stop3->stop5 but above code gave me stop3-> stop4->stop5. I need the exact sequence. how can I get it?