table icon indicating copy to clipboard operation
table copied to clipboard

sortDescFirst not sorting by desc first

Open adepatie opened this issue 7 years ago • 1 comments

Setting 'sortDescFirst' on a column config does not result in it sorting by 'desc' first

To Reproduce Steps to reproduce the behavior:

  1. Configure a column to 'sortDescFirst: true'
  2. Trigger the column to sort
  3. Column sorts by 'asc' first

Expected behavior The column should be sorted by 'desc' first

Codesandbox! UPDATED: https://codesandbox.io/s/tannerlinsleyreact-table-sorting-client-side-pg2uj?fontsize=14

  • OS: Windows 10 Version 10.0.17763 Build 17763
  • Browser: Chrome 75.0.3770.142 (Official Build) (64-bit)

adepatie avatar Jul 29 '19 20:07 adepatie

@tannerlinsley works now. You the man!

adepatie avatar Jul 30 '19 17:07 adepatie