---
title: defaultNameOrdering()
framework: addressbook
role: symbol
role_heading: Instance Method
path: addressbook/abaddressbook/defaultnameordering()
---

# defaultNameOrdering()

Returns the default name ordering defined by the user in the Address Book application’s preferences.

## Declaration

```swift
func defaultNameOrdering() -> Int
```

## Return Value

Return Value The default name ordering defined by the user in the Address Book application’s preferences.

## Discussion

Discussion The possible values are kABFirstNameFirst and kABLastNameFirst.

## See Also

### Retrieving Default Values

- [defaultCountryCode()](addressbook/abaddressbook/defaultcountrycode().md)
