set and keep order of gallery items (refs #51)