# SourceTableView property on XMLport table elements
> Version: _Available from runtime version 1.0._
Specifies the key, sort order, and filters for the source table of an XMLport table element.
## Applies to
 XMLport table elements
## Syntax
```al
SourceTableView = sorting(Code);
```
## Remarks
Use sorting to select a key, order to specify ascending or descending order, and where to filter records.
## Related information
devenv-sourcetableview-pages-property
devenv-xmlport-properties
devenv-properties

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-sourcetableview-xmlports-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-sourcetableview-xmlports-property/
