add sortImages to CELEMENTS.images.Gallery
fix instance variable initalization in galleryClass.js