Natural (GTK-like) file sorting by treating dot as separator (#573)
Natural (GTK-like) file sorting by treating dot as separator (#573)

Qt's default sorting can be counterintuitive for files (e.g., `a_1.txt` comes before `a.txt` with the ascending order). This patch sorts files by treating dot as a separator and comparing split strings with each other.

This is exactly how GTK (file dialog) sorts files; it considers all dots as separators (not just the last dot) and treats folders like files. Most Linux users are accustomed to GTK's file sorting, which is generally more intuitive than Qt's.

Closes https://github.com/lxqt/pcmanfm-qt/issues/1201
lxde/libfm-qt,lxde/libfm-qt