Skip to content

Strange behavior of multiple sort #28

@Vlczech

Description

@Vlczech

There is a strange behavior of multisorting:
I click a "+" button on name for example (this column is sorted first), then click "+" button" on surname for example (this column is sorted second). There are "+" buttons on these columns still.

Now I would like to change sort the name column (firstly sorted column) from ASC to DESC order. So let's try it by click to:

  • column name => oh no, this is single sort and my previous multi-sort was killed.
  • displayed sorting arrow => this does not function (however this icon does make sense to use for change the order of sort; for example with 180° rotated icon on hover)
  • "+" button => OK, the order of sort is changed.

And what about to change back the name column from DESC to ASC order preserving firstly sorting?

  • OK, i know: "+" changed me in the previous step => click => oh no, my first sort is now on surname only and previous name column sort by first was killed (if I had only 2 multisorts). Actually the "+" button has no function of add multiple sort, but has the function of drop current column from multiple sort realistically.

Proposed solution:

  • "+" button is used only to add the column to multisort
  • for changing between ASC and DESC order is used "^" or "v" icon hovered to opposite site
  • after the column is added to multisort "+" icon is replaced by "x" button to cancel sort on this column

EDIT:
For consideration:

  • after multisorting is activated, click on column label has the meaning of change the order instead of cancel multisort order to column-only order

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions