Why is my music not sorted correctly after an Index?