Reordered lep_gallery elements.