Skip to content

Not stable sorting by columns #24

@curlup

Description

@curlup

Say I want to sort columns by two categories.
Usual way to do that in a grid is to sort by one, then sort by the second one.
If the sort is stable, this will result in columns sorted by the second category, but within cols with the same second category, they should remain sorted by the first category.

Seem that it's not the case for morpheus, which limits ad-hoc analysis that can be performed.

Steps to reproduce:

  • taken https://software.broadinstitute.org/morpheus/
  • select "Preloaded Datasets"
  • select "Acute Myeloid Leukemia (LAML)"
  • "GENE Expression" -> "Open"
  • in the zoom menu "Fit Columns To Window"
  • click "mRNAseq_cluster" column category to sort by.
  • now click "gender" to sort by.

Expected: two groups by gender (it is) and within each of them sorted by "mRNAseq_cluster" (same order if mRNAseq_cluster in both gender groups).
Observed: mRNAseq_cluster order is scrambled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions