# window_tree_order_seq

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-tree.c#L135
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-window-tree-c-window_tree_order_seq/

```c
static enum sort_order window_tree_order_seq[] = {
    SORT_INDEX,
    SORT_NAME,
    SORT_ACTIVITY,
    SORT_Z,
    SORT_END,
};
```

## Referenced by

- [`window_tree_sort`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_sort/) (function)

## Referenced declarations

- [`SORT_ACTIVITY`](/en/tmux/3.7c/reference/c-enum-sort_order-sort_activity/) (constant)
- [`SORT_END`](/en/tmux/3.7c/reference/c-enum-sort_order-sort_end/) (constant)
- [`SORT_INDEX`](/en/tmux/3.7c/reference/c-enum-sort_order-sort_index/) (constant)
- [`SORT_NAME`](/en/tmux/3.7c/reference/c-enum-sort_order-sort_name/) (constant)
- [`sort_order`](/en/tmux/3.7c/reference/c-enum-sort_order/) (enum)
- [`SORT_Z`](/en/tmux/3.7c/reference/c-enum-sort_order-sort_z/) (constant)
