Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 3 trả lời
  • 1 gặp vấn đề này
  • 2 lượt xem
  • Trả lời mới nhất được viết bởi 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

Tất cả các câu trả lời (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.