# SortInput

input type

One sort key: missing-fact records trail in EITHER direction; ties resolve by id, so every order is total and pages are stable.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `field` | [String](/types/#scalars) `String!` | yes | No further notes. |
| `direction` | [SortDirection](/types/SortDirection/) `SortDirection!` | yes | No further notes. |

## Used by

- [affiliates](/reference/affiliate/affiliates/)
- [agentChannels](/reference/agent-channel/agentChannels/)
- [apiKeys](/reference/api-key/apiKeys/)
- [appointments](/reference/appointment/appointments/)
- [billingCharges](/reference/billing-charge/billingCharges/)
- [bins](/reference/bin/bins/)
- [brands](/reference/brand/brands/)
- [categories](/reference/category/categories/)
- [categoryChildren](/reference/reading-your-records/categoryChildren/)
- [characteristics](/reference/characteristic/characteristics/)
- [collectionMembers](/reference/collection-member/collectionMembers/)
- [collections](/reference/collection/collections/)
- [commissionConfigs](/reference/commission-config/commissionConfigs/)
- [consultations](/reference/consultation/consultations/)
- [counts](/reference/count/counts/)
- [creditNotes](/reference/credit-note/creditNotes/)
- [customUoms](/reference/custom-uom/customUoms/)
- [customerPriceGroups](/reference/customer-price-group/customerPriceGroups/)
- [dashboards](/reference/dashboard/dashboards/)
- [debitNotes](/reference/debit-note/debitNotes/)
- [decorations](/reference/decoration/decorations/)
- [devicePeripherals](/reference/device-peripheral/devicePeripherals/)
- [devices](/reference/device/devices/)
- [disputes](/reference/dispute/disputes/)
- [divisions](/reference/division/divisions/)
- [exemptionCertificates](/reference/exemption-certificate/exemptionCertificates/)
- [fiscalReceipts](/reference/reading-your-records/fiscalReceipts/)
- [fulfillments](/reference/fulfillment/fulfillments/)
- [fxRates](/reference/fx-rate/fxRates/)
- [invoices](/reference/invoice/invoices/)
- [logicalFacilities](/reference/logical-facility/logicalFacilities/)
- [manufacturers](/reference/manufacturer/manufacturers/)
- [optionGroups](/reference/option-group/optionGroups/)
- [optionValues](/reference/option-value/optionValues/)
- [orders](/reference/order/orders/)
- [orgBrands](/reference/org-brand/orgBrands/)
- [orgDivisions](/reference/org-division/orgDivisions/)
- [orgManufacturers](/reference/org-manufacturer/orgManufacturers/)
- [orgSeasons](/reference/org-season/orgSeasons/)
- [orgStyles](/reference/org-style/orgStyles/)
- [orgVendors](/reference/org-vendor/orgVendors/)
- [organizations](/reference/reading-your-records/organizations/)
- [payments](/reference/payment/payments/)
- [physicalFacilities](/reference/physical-facility/physicalFacilities/)
- [physicalFacilityLocations](/reference/physical-facility-location/physicalFacilityLocations/)
- [priceListEntries](/reference/price-list-entry/priceListEntries/)
- [priceLists](/reference/price-list/priceLists/)
- [productRelations](/reference/product-relation/productRelations/)
- [products](/reference/product/products/)
- [purchaseOrderLines](/reference/reading-your-records/purchaseOrderLines/)
- [purchaseOrders](/reference/purchase-order/purchaseOrders/)
- [receiptLines](/reference/reading-your-records/receiptLines/)
- [receipts](/reference/receipt/receipts/)
- [refunds](/reference/refund/refunds/)
- [registers](/reference/register/registers/)
- [returns](/reference/return/returns/)
- [roles](/reference/role/roles/)
- [rtvs](/reference/rtv/rtvs/)
- [salePrices](/reference/sale-price/salePrices/)
- [schedulableResources](/reference/schedulable-resource/schedulableResources/)
- [seasons](/reference/season/seasons/)
- [segments](/reference/segment/segments/)
- [sizeRuns](/reference/size-run/sizeRuns/)
- [storedValueInstruments](/reference/stored-value-instrument/storedValueInstruments/)
- [storefronts](/reference/storefront/storefronts/)
- [styles](/reference/style/styles/)
- [suggestionSchemas](/reference/suggestion-schema/suggestionSchemas/)
- [suggestions](/reference/suggestion/suggestions/)
- [tags](/reference/tag/tags/)
- [taskLabels](/reference/task-label/taskLabels/)
- [tasks](/reference/task/tasks/)
- [taxJurisdictionChildren](/reference/reading-your-records/taxJurisdictionChildren/)
- [taxJurisdictions](/reference/tax-jurisdiction/taxJurisdictions/)
- [taxRates](/reference/tax-rate/taxRates/)
- [taxRegistrations](/reference/tax-registration/taxRegistrations/)
- [teams](/reference/team/teams/)
- [tillSessions](/reference/till-session/tillSessions/)
- [tokenAccounts](/reference/token-account/tokenAccounts/)
- [tokenPurchases](/reference/token-purchase/tokenPurchases/)
- [transferRequests](/reference/transfer-request/transferRequests/)
- [transfers](/reference/transfer/transfers/)
- [users](/reference/user/users/)
- [variantComponents](/reference/variant-component/variantComponents/)
- [variants](/reference/variant/variants/)
- [vendorInvoices](/reference/vendor-invoice/vendorInvoices/)
- [warranties](/reference/warranty/warranties/)
- [zones](/reference/zone/zones/)
