Sorting criteria in the format: property:asc/desc. Default sort
is displayName:asc. Multiple sort criteria are supported and must be separated with
a comma.
Fields allowed in the sort: airPlayPassword, appAnalyticsEnabled, assetTag, availableSpaceMb,
batteryLevel, bluetoothLowEnergyCapable, bluetoothMacAddress, capacityMb,
lostModeEnabledDate, declarativeDeviceManagementEnabled, deviceId, deviceLocatorServiceEnabled,
devicePhoneNumber, diagnosticAndUsageReportingEnabled, displayName, doNotDisturbEnabled,
enrollmentSessionTokenValid, osBuild, osSupplementalBuildVersion, osVersion, osRapidSecurityResponse,
ipAddress, itunesStoreAccountActive, mobileDeviceId, languages, lastEnrolledDate, lastCloudBackupDate,
lastInventoryUpdateDate, locales, lostModeEnabled,
managed, mdmProfileExpirationDate, model, modelIdentifier, modelNumber, modemFirmwareVersion,
preferredVoiceNumber, serialNumber, supervised, timeZone, udid, usedSpacePercentage, wifiMacAddress,
deviceOwnershipType, building, department, emailAddress,
fullName, userPhoneNumber, position, room,
username, appleCareId, leaseExpirationDate,lifeExpectancyYears,
poDate, poNumber, purchasePrice, purchasedOrLeased,
purchasingAccount, purchasingContact, vendor, warrantyExpirationDate,
activationLockEnabled, blockEncryptionCapable, dataProtection, fileEncryptionCapable,
hardwareEncryptionSupported, jailbreakStatus, passcodeCompliant, passcodeCompliantWithProfile,
passcodeLockGracePeriodEnforcedSeconds, passcodePresent, carrierSettingsVersion,
cellularTechnology, currentCarrierNetwork, currentMobileCountryCode, currentMobileNetworkCode,
dataRoamingEnabled, eid, network, homeMobileCountryCode,
homeMobileNetworkCode, iccid, imei, imei2,
meid, personalHotspotEnabled, voiceRoamingEnabled, roaming, lastLoggedInUsernameSelfService, lastLoggedInUsernameSelfServiceTimestamp
Example: sort=displayName:desc,username:asc