---
title: orderByQuantitySampleStartDate
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantityseriessamplequerydescriptor/options-swift.struct/orderbyquantitysamplestartdate
---

# orderByQuantitySampleStartDate

An option indicating that the results are grouped by the containing quantity sample’s start date.

## Declaration

```swift
static let orderByQuantitySampleStartDate: HKQuantitySeriesSampleQueryDescriptor.Options
```

## See Also

### Setting Options

- [includeSample](healthkit/hkquantityseriessamplequerydescriptor/options-swift.struct/includesample.md)
