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 this case it would have to be "if A is shorter than B"; also this is a tree model, we want to sort based on the leaf nodes (.desktop Name=), but not on parent nodes (the category names), I am not sure that is possible/straightforward with that item model. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D24951 To: ahmadsamir, dfaure, ngraham Cc: ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns