Skip to content

[EuiDataGrid] Date Sort Order is Reversed #4712

@jeffvestal

Description

@jeffvestal

In the EuiDataGrid in Discover, when you sort by a date field, the order is reversed from what the buttons show.

Currently when sorting by date:
sort selection button -> viewing rows in Kibana from top to bottom of the screen
Old-New -> 2020, 2010, 2000
New-Old -> 2000, 2010, 2020

Desired State
New should show the most recent dates
New-Old -> 2020, 2010, 2000

Old should show the farthest back dates
Old-New -> 2000, 2010, 2020

Screenshots of current behavior:
Screen Shot 2021-04-13 at 9 27 22 AM

Screen Shot 2021-04-13 at 9 26 48 AM

cc: @kertal

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions