---
title: sortedSequences
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlctensordescriptor/sortedsequences
---

# sortedSequences

A Boolean that indicates whether you provided the sequence lengths sorted in descending order.

## Declaration

```swift
var sortedSequences: Bool { get }
```

## See Also

### Inspecting Tensor Descriptors

- [dataType](mlcompute/mlctensordescriptor/datatype.md)
- [dimensionCount](mlcompute/mlctensordescriptor/dimensioncount.md)
- [shape](mlcompute/mlctensordescriptor/shape-7i1rw.md)
- [stride](mlcompute/mlctensordescriptor/stride-5mzlt.md)
- [tensorAllocationSizeInBytes](mlcompute/mlctensordescriptor/tensorallocationsizeinbytes.md)
- [sequenceLengths](mlcompute/mlctensordescriptor/sequencelengths-3jdab.md)
- [batchSizePerSequenceStep](mlcompute/mlctensordescriptor/batchsizepersequencestep-6iz59.md)
