On Fri, Jul 8, 2011 at 7:19 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote: > is there a particular reason why libtracker's > Model::CompareFolderNamesFirst() does sort volumes even "firster" than > directories? Is this some kind of hack^H^H^H^Hclever implementation idea for > the "Move to"/"Copy to"/"Create link" context menu submenues? IIRC there was no other reasoning for it besides it naturally following from a hierarchical standpoint that if the user wanted folders before files, then they probably also wanted volumes before folders. In the case of the copy to/move to menus I'm not sure if that behavior is even relied upon, since they're explicitly added to the menu rather than being part of the normal directory iteration. I don't really see a problem with removing that part of the sorting logic and dealing with it in the menu if need be. Regards, Rene