adding grouping to the order detail view