Sort document series group editions

This matches DocumentSeries#published_editions and causes the order to
be set correctly.