Every torrent have file list inside. And that file list haven't any sorting, items list's in order in which they where added by creation of .trorrent file.
It would be very nice and convenient to have filenamesizecompletionstatus sorting.
I've run across this as well, apparently there's some incredibly badly behaved torrent clients that put the files in in completely random order, which means the rtorrent files page is a mass of ///// \ as it tries to figure out WTF the filelist is thinking.
Even ignoring a user interface to chose what to sort on, the FileSet really should be sorted to make sense of the path components.
I was looking into doing sort-on-insert for FileSets since they're mostly read, but I'm worried about invalidating iterators. Actually, it looks like the order is tied to the chunk downloading - so it will need a special sorted iterator to go over it in an arbitrary fashion.
+1
+1
+1
+1
:+1:
:+1:
See https://github.com/rakshasa/libtorrent/pull/85. Not user defined sorting but at least it sorts the file list alphanumerical.
+1
+1
+1
Stop the useless noise.
Most helpful comment
Stop the useless noise.