---
schema_version: "1"
id: b86f0aa5e1dedc3a099fdcf8e8cf655660c143c38e1072cdb359afbbe7db063a
title: VirtualConnectionOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/virtualconnectionorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/virtualconnectionorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: e5a3334562af090bd317d99141c09a57512052c3e0fba38957cc6b2ec34db292
---
_menu_ Types

ENUM

# VirtualConnectionOrderField

Enum for fields that can be used for sorting

## [_link_](#graphql-schema-definition) GraphQL Schema definition

`   - enum VirtualConnectionOrderField {  - # Sort by downstreamDatasources count - DOWNSTREAM_DATASOURCES_COUNT  - # Sort by downstreamWorkbooks count - DOWNSTREAM_WORKBOOKS_COUNT  - # Sort by owner count - OWNER_COUNT  - # Sort by connectionType - CONNECTION_TYPE  - # Sort by containerName - CONTAINER_NAME  - # Sort by hasActiveWarning - HAS_ACTIVE_WARNING  - # Sort by id - ID  - # Sort by isCertified - IS_CERTIFIED  - # Sort by luid - LUID  - # Sort by name - NAME  - # Sort by projectName - PROJECT_NAME  - # Sort by vizportalUrlId - VIZPORTAL_URL_ID - }   `

## [_link_](#require-by) Require by

- [VirtualConnectionSortOrder_Sort by given fields. The sort orders defined first in the list will take priority. If there are no given sort orders or a tie on the final sorted field then the resulting set will be sorted by ID in ascending order._](https://help.tableau.com/current/api/metadata_api/en-us/reference/virtualconnectionsortorder.doc.html "VirtualConnectionSortOrder - Sort by given fields. The sort orders defined first in the list will take priority. If there are no given sort orders or a tie on the final sorted field then the resulting set will be sorted by ID in ascending order.")