add order to gallery
add page sorting