---
schema_version: "1"
id: b6a64429848166d721dca2075b546c50936c28ff2c1ff827598ba868e74380d1
title: DatabaseServerOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/databaseserverorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/databaseserverorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 100fc7a38644b577e349c78b6dde77e6a98e5998c3de7fc21bd3b2a9abbf138d
---
_menu_ Types

ENUM

# DatabaseServerOrderField

Enum for fields that can be used for sorting

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

`   - enum DatabaseServerOrderField {  - # Sort by downstreamDatasources count - DOWNSTREAM_DATASOURCES_COUNT  - # Sort by downstreamVirtualConnections count - DOWNSTREAM_VIRTUAL_CONNECTIONS_COUNT  - # Sort by downstreamWorkbooks count - DOWNSTREAM_WORKBOOKS_COUNT  - # Sort by connectionType - CONNECTION_TYPE  - # Sort by hasActiveWarning - HAS_ACTIVE_WARNING  - # Sort by hostName - HOST_NAME  - # Sort by id - ID  - # Sort by isCertified - IS_CERTIFIED  - # Sort by isEmbedded - IS_EMBEDDED  - # Sort by luid - LUID  - # Sort by name - NAME  - # Sort by projectName - PROJECT_NAME - }   `

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

- [DatabaseServerSortOrder_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/databaseserversortorder.doc.html "DatabaseServerSortOrder - 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.")