<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Contacts",
  "identifier" : "/documentation/Contacts/CNContactFormatter/nameOrder(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Contacts"
    ],
    "preciseIdentifier" : "c:objc(cs)CNContactFormatter(cm)nameOrderForContact:"
  },
  "title" : "nameOrder(for:)"
}
-->

# nameOrder(for:)

Returns the display name order.

```
class func nameOrder(for contact: CNContact) -> CNContactDisplayNameOrder
```

## Parameters

`contact`

The contact whose name is to be formatted.

## Return Value

The display order to use when combining the given name and family name components.

## Discussion

For more information about display name orders, see [`CNContactDisplayNameOrder`](/documentation/Contacts/CNContactDisplayNameOrder).

---

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)