Allow reordering of document groups.

https://www.pivotaltracker.com/story/show/65737586