Merge pull request #38 from cnlpete/release/3.0

[bugfix] sorting of gallery files did not work