<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "iTunesLibrary",
  "identifier" : "/documentation/iTunesLibrary/ITLibMediaItem/sortComposer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "iTunes Library"
    ],
    "preciseIdentifier" : "c:objc(cs)ITLibMediaItem(py)sortComposer"
  },
  "title" : "sortComposer"
}
-->

# sortComposer

The name to use when sorting by composer.

```
var sortComposer: String? { get }
```

## Discussion

If `nil`, iTunes uses [`composer`](/documentation/iTunesLibrary/ITLibMediaItem/composer) when sorting media items by composer.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)