finished indexing tests on to sorting