--- title: "system.tag.browseTagsSimple" description: "Returns a sorted array of tags from a specific folder." --- # system.tag.browseTagsSimple > Returns a sorted array of tags from a specific folder. ​ :::note Deprecated This function was deprecated in 8.1.0. ::: This function is used in **Python Scripting**. ​ ## Description Returns a sorted array of tags from a specific folder. ​ ## Client Permission Restrictions This scripting function has no [Client Permission](versioned_docs/version-8.1\ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) restrictions. ​ ## Syntax `system.tag.browseTagsSimple(parentPath, sort)` ​ - Parameters - String `parentPath` - The parent folder path. Leave blank for the root folder. :::note You can specify the tag provider name in square brackets at the beginning of the parentPath string. For example, `[myTagProvider]MyTagsFolder`. If the tag provider name is left off then the project default provider will be used. ::: - String `sort` - Sets the sort order, possible values are ASC and DESC. - Returns - BrowseTag[] - An array of BrowseTag. BrowseTag has the following variables: name, path, fullPath, type, dataType, and the following functions: isFolder(), isUDT(), isOPC(), isMemory(), isExpression(), isQuery(). - Scope - All :::caution If called in the gateway scope, a tag provider must be specified. ::: ​ ## Code Examples ​ The following script will print out the names of all tags and the tag type: ```python title="Example #1" tags = system.tag.browseTagsSimple("", "ASC") for tag in tags: print "Name:",tag.name, "\tType:", tag.dataType ```