搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 3 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 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

所有回覆 (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.