added sorting of images

The images are now sorted by their filename.
Merge pull request #125 from XenGi/patch-1

Sort images by filename in Gallery plugin
Merge remote-tracking branch 'upstream/master'