# Enumeration GridSorting

GoJS® Diagramming Components
version 3.0.7
by Northwoods Software®

This enumeration specifies whether to sort the children of a part, and in what order to position them. Used for GridLayout.sorting.

The default GridLayout.comparer does a case-insensitive comparison of the value of each node's Part.text property.

`since`

3.0

#####
Index

### Enumeration Members

Ascending
Descending
Forwards
Reverse

## Enumeration Members

### Ascending

Lay out each child according to the sort order given by GridLayout.comparer.

### Descending

Lay out each child in reverse sort order given by GridLayout.comparer.

### Forwards

Lay out each child in the order in which they were found.

### Reverse

Lay out each child in reverse order from which they were found.

Copyright © 1998-2024 by Northwoods Software Corporation.