Galleries are created as another custom post type called Projects. It has Categories that can be ordered as needed. Here you create just a single gallery photo.
All the content of the Gallery page can be built by means of Visual Composer on the Gallery page.
So basically, you create an individual post describing for each photo in your gallery. After that you go to the Pages > Add new
On the new page, you should insert Gallery Grid shortcode from Visual Composer.
After that you can have an option to make your gallery view Masonry or Standard grid (by default):