more search fixing
reversed order of index sort
reversed order of index sort