---
id: 367
title: 'Neo.table.header.Button: defaultSortDirection config'
state: CLOSED
labels:
  - enhancement
  - good first issue
  - stale
assignees: []
createdAt: '2020-03-24T20:05:40Z'
updatedAt: '2024-09-28T02:31:56Z'
githubUrl: 'https://github.com/neomjs/neo/issues/367'
author: tobiu
commentsCount: 2
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2024-09-28T02:31:55Z'
---
# Neo.table.header.Button: defaultSortDirection config

type String, values ASC, DESC, default ASC

onButtonClick() => in case the value is DESC, change (reverse) the order.

replacing the switch statement with a map might be the way to go.

## Timeline

- 2020-03-24T20:05:40Z @tobiu added the `enhancement` label
- 2020-03-24T20:05:52Z @tobiu added the `good first issue` label
- 2020-04-10T10:15:04Z @tobiu referenced in commit `521c109` - "Neo.table.header.Button: defaultSortDirection config #367"
### @github-actions - 2024-09-14T02:27:42Z

This issue is stale because it has been open for 90 days with no activity.

- 2024-09-14T02:27:43Z @github-actions added the `stale` label
### @github-actions - 2024-09-28T02:31:55Z

This issue was closed because it has been inactive for 14 days since being marked as stale.

- 2024-09-28T02:31:55Z @github-actions closed this issue

