When entering a folder that isn't initially sorted by file type and switching to this sorting option, the folder becomes sorted by name. You have then to switch to sorting by something else and after that switch back to sorting by type.
Thanks, I can confirm this problem.
Git commit 735c046ddac45f729e52dda38f7152b62c304bb3 by Frank Reininghaus.
Committed on 18/06/2013 at 17:39.
Pushed by freininghaus into branch 'KDE/4.10'.
Ensure that the "Sort by Type" setting is respected
Before this commit, switching from, e.g., "Sort by Name" to "Sort by
Type" sometimes had no effect until the view was refreshed. The problem
was that the re-sorting was triggered before the type information was
actually added to the model.
Related: bug 312014
M +3 -3 dolphin/src/kitemviews/kfileitemmodel.cpp
M +42 -1 dolphin/src/tests/kfileitemmodeltest.cpp