Sort delivery groups by statuses
Render statuses using template tag