For the second point, it needs to be sorted based upon the locale of the user using LC_COLLATE. So technically you're both right. GTK+ is already sorting strings properly using the locale, but since we have no way to indicate to GTK+ that a random row is a file versus a folder we are currently hardcoding it to directories before files. We need to determine if some method exists to notify GTK+ so it could sort properly. Another option is to add a custom column type and cell renderer in treeview so we can customize the sorting function.
For the second point, it needs to be sorted based upon the locale of the user using LC_COLLATE. So technically you're both right. GTK+ is already sorting strings properly using the locale, but since we have no way to indicate to GTK+ that a random row is a file versus a folder we are currently hardcoding it to directories before files. We need to determine if some method exists to notify GTK+ so it could sort properly. Another option is to add a custom column type and cell renderer in treeview so we can customize the sorting function.