---
title: HKWorkoutSortIdentifierTotalEnergyBurned
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkworkoutsortidentifiertotalenergyburned
---

# HKWorkoutSortIdentifierTotalEnergyBurned

A constant for sorting workouts based on the total energy burned.

## Declaration

```swift
let HKWorkoutSortIdentifierTotalEnergyBurned: String
```

## See Also

### Specifying sort identifiers

- [HKWorkoutSortIdentifierDuration](healthkit/hkworkoutsortidentifierduration.md)
- [HKWorkoutSortIdentifierTotalDistance](healthkit/hkworkoutsortidentifiertotaldistance.md)
