ahmadsamir added a comment.
In D24951#554516 <https://phabricator.kde.org/D24951#554516>, @dfaure wrote: > A sort model allows to define any sorting criteria you want (see QSortFilterProxyModel::lessThan), so this is technically possible: the criteria would say "if A is a match and B isn't, then A<B is true". > I'm not 100% sure that things jumping around while typing is a good idea though. In D24951#554516 <https://phabricator.kde.org/D24951#554516>, @dfaure wrote: > A sort model allows to define any sorting criteria you want (see QSortFilterProxyModel::lessThan), so this is technically possible: the criteria would say "if A is a match and B isn't, then A<B is true". hmm... I was wrong then. It would complicate the code for a corner case; how many app names used today are substrings of other app names... REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D24951 To: ahmadsamir, dfaure, ngraham Cc: ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns