Add order to galleries