diff --git a/src/playlist/playlist.cpp b/src/playlist/playlist.cpp index fcf4836ec..a30a7bdce 100644 --- a/src/playlist/playlist.cpp +++ b/src/playlist/playlist.cpp @@ -1417,6 +1417,8 @@ void Playlist::sort(int column, Qt::SortOrder order) { undo_stack_->push( new PlaylistUndoCommands::SortItems(this, column, order, new_items)); + + ReshuffleIndices(); } void Playlist::ReOrderWithoutUndo(const PlaylistItemList& new_items) {