---
title: "CFRunLoopSourceGetOrder(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfrunloopsourcegetorder(_:)"
---

# CFRunLoopSourceGetOrder(_:)

Returns the ordering parameter for a CFRunLoopSource object.

## Declaration

```swift
func CFRunLoopSourceGetOrder(_ source: CFRunLoopSource!) -> CFIndex
```

## Parameters

- `source`: The run loop source to examine.

## Return Value

Return Value The ordering parameter for source, which the run loop uses (for version 0 sources only) to determine the order in which sources are processed when multiple sources are firing.

## See Also

### CFRunLoopSource Miscellaneous Functions

- [CFRunLoopSourceCreate(_:_:_:)](corefoundation/cfrunloopsourcecreate(_:_:_:).md)
- [CFRunLoopSourceGetContext(_:_:)](corefoundation/cfrunloopsourcegetcontext(_:_:).md)
- [CFRunLoopSourceGetTypeID()](corefoundation/cfrunloopsourcegettypeid().md)
- [CFRunLoopSourceInvalidate(_:)](corefoundation/cfrunloopsourceinvalidate(_:).md)
- [CFRunLoopSourceIsValid(_:)](corefoundation/cfrunloopsourceisvalid(_:).md)
- [CFRunLoopSourceSignal(_:)](corefoundation/cfrunloopsourcesignal(_:).md)
