Testing index sorts