Quick fix to make gallery items sortable in admin generator