Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Is there a way to achieve a stable sort when you sort on a column in a message folder?

  • 3 răspunsuri
  • 1 are această problemă
  • 12 vizualizări
  • Ultimul răspuns de Matt

more options

E.g., when I sort on Sender, my usual problem is that I want them to remain in Received order and they don't.

https://en.wikipedia.org/wiki/Sorting_algorithm#Stability

E.g., when I sort on Sender, my usual problem is that I want them to remain in Received order and they don't. https://en.wikipedia.org/wiki/Sorting_algorithm#Stability

Toate răspunsurile (3)

more options

You want to sort by sender, and are disappointed that the sort by date is changed to sender do that. You are doing the equivalent of changing the sort order of the days of the week to alphabetical then saying Monday no longer follows Sunday. Or are you expecting some sort of secondary sort order other than the primary.

more options

@Matt You apparently did not read the Wikipedia article I cited. For all the messages that have the SAME sender, I want them to remain in received-date order. That's what "stable sort" means.

more options

No it is not possible... I do not need to read a Wikipedia article on sorting algorithms to know that. The sort is stable, just obviously not offering in a form you want. You get to sort on one criteria, not two.