Update persistent model indexes properly when sorting the playlist.  Fixes #4358