re-order gallery entries