
## GetSortBy function

Represents the index of the field sorted by.A value of -1 indicates sorting by the pivot item's own values.When greater than or equal to zero, it represents the index of data field in the data region.

```go

func (instance *PivotFieldSortSetting) GetSortBy()  (int32,  error) 

```

## Remarks


## See Also

* Class [PivotFieldSortSetting](../)
* Library [Aspose.Cells for Go](../../)
