gui: Use case insensitive sort with folders on top in Restore Versions (#7980)
gui: Use case insensitive sort with folders on top in Restore Versions (#7980)

Currently, the default sorting of the file list in the Restore Versions
modal in both case sensitive, and it also does not distinguish between
files and folders. With this change, which uses a slightly modified code
from the fancytree itself (with added folder prioritisation), the sort
becomes case insensitive and also always places folders on top. This is
to make it behave more similar to what file managers do in the commonly
used operating systems (including popular Linux desktop environments).

Signed-off-by: Tomasz Wilczyński <ed7c30ffaebd0fa3b75584009a75e696d0f2ff10@naver.com>
syncthing/syncthing,syncthing/syncthing,syncthing/syncthing,syncthing/syncthing,syncthing/syncthing,syncthing/syncthing