Usecase: When in desktop mode, I sort my playlist based on the artist. I play the first song from the list, everything is ok. But when I play the second song from the list it plays a different song (the one from the unsorted playlist).
Most probable problem could be the array you are accesing after sorting the list. Its the wrong one.