I am running the Muon Package Manager (version 5.7.0) on KDE Neon User Edition 5.10. After selecting the "By Status" filter on the left I then clicked the Status column header to sort on that field. The view changed but the sorted order is not correct (see attached screen shot) as it shows packages with status "Installed", then some packages marked "Upgradeable", and then some more packages marked "Installed". I would expect to see all packages marked "Installed" followed by all packages marked "Upgradeable". Additionally, attempting to sort by "Installed Size", "Installed Version" or "Available Version" does nothing - the column header changes to show the sort order but the lines below never change order.
Created attachment 106939 [details] Sort by "Status" not correct
Git commit ec14a8f27dc24f75b9712e56814e6e88aba00651 by Carlo Vanini. Committed on 08/06/2018 at 11:47. Pushed by vanini into branch 'master'. fix sort by status or requested change Summary: Sorting was considering less package states than what is shown to the user. For instance Upgradeable was not taken into account and the package was sorted just as Installed, that resulted in a list that could contain Installed, then Upgradeable and then Installed again. Reviewers: sitter Reviewed By: sitter Differential Revision: https://phabricator.kde.org/D13417 M +6 -0 src/PackageModel/PackageProxyModel.cpp https://commits.kde.org/muon/ec14a8f27dc24f75b9712e56814e6e88aba00651