<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkSetSetServiceOrder(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkSetSetServiceOrder"
  },
  "title" : "SCNetworkSetSetServiceOrder(_:_:)"
}
-->

# SCNetworkSetSetServiceOrder(_:_:)

Stores the user-specified ordering of network services for the specified set.

```
func SCNetworkSetSetServiceOrder(_ set: SCNetworkSet, _ newOrder: CFArray) -> Bool
```

## Parameters

`set`

The set (the complete configuration for a single location).

`newOrder`

The ordered list of service identifiers for the set.

## Return Value

`TRUE` if the new service order was saved; `FALSE` if an error occurred.

## Discussion

---

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)