Add sorting to admin  gallery page