# TableArtifactSort

Describes one table sort expression. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.VisualArtifacts`

**Namespace**

`ChartForgeX.VisualArtifacts`

**Assembly**

`ChartForgeX`

**Source**

[TableArtifactQuery.cs:51](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/TableArtifactQuery.cs#L51)

**Modifiers**

sealed

Describes one table sort expression.

## Inheritance

- object
- TableArtifactSort

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [TableArtifactQuery.Sorts](/api/chartforgex-visualartifacts-tableartifactquery/#property-sorts)

 Filter members   

    Show inherited   

 

## Constructors

 `public TableArtifactSort(string columnId, bool descending = false)` [#](#constructor-ctor-string-boolean) 

[TableArtifactQuery.cs:51](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/TableArtifactQuery.cs#L51)

Initializes a table sort expression.

Parameters

**columnId string required**

**descending bool = false optional**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string ColumnId { get; set; }` [#](#property-columnid) 

[TableArtifactQuery.cs:57](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/TableArtifactQuery.cs#L57)

Gets or sets the column id.

 `public bool Descending { get; set; }` [#](#property-descending) 

[TableArtifactQuery.cs:60](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/TableArtifactQuery.cs#L60)

Gets or sets whether sorting should be descending.

<!-- PowerForge markdown artifact sha256:AB66202236BE33D26ED8D39221E0FB7EF032E943E77642DE487B5E9DD5620BD1 -->
