BUGFIX: previous slide went to the first slide in group

We didn't switch the ordering of the slides in the SQL query, thus slide_previous_in_group sent us to the first slide in the group.
Reorder the slide types in the form