Jump to content

peer sorting stability


parseerror

Recommended Posts

I am unable to "create a new topic" in "Feature Requests" for some reason, so I posted here. Hope that's ok.

Ordering of peers in the "Peer" window seems unnecessarily unstable.

For example if I sort on "Up Speed" and there are a large number of peers with an empty (presumably 0) value, they still shuffle around wildly. I assume this is the side effect of the ordering implementation, which I further assume is using an unstable implementation of qsort().

I propose that peers (and any other list for human consumption, really) be ordered by a stable sort. It's reasonably what a user expects and easier to keep track of a given item between updates.

There are a variety of well-understood, adequately performant stable sorts available.

Thanks.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...