by Guest on 2024/08/12 07:14:24 PM
Used version 3.28, 64-bit build for Windows.
There is some kind of mistake in sorting algorithm implementation for files list view of a transfer with large amount of not-nested files in a single directory (e.g. 1000). When doing 'Name' sort, some parts look sorted (and start of the whole list looks more or less sorted), but list ultimately is not sorted as there are a lot of unsorted values or even ranges of values. Sorting by 'Bytes', however, looks just random, without a single sorted range of values inside of it, at least for files with 'Off' priority that is.
libgen torrent-files could be used as a reference for that problem reproducibility. Hope that helps. Thank you.
I have seen this as well. I use Linux version.
Same issue with peer list. I like to sort descending on peer %, the 100% peers all appear to come to the top but then it seems random - after the 100% peers comes 4% followed by 60% followed by 20% etc.
Would love to be able to sort trackers on status.
Would love to have multiple sort columns, or even just stable sort (e.g. sort one column, then sort another and first column order is preserved within).
These are just nice-to-haves, but, well... would be nice to have.
by
janet on 2025/01/17 12:46:49 PM
The sorting can be sometimes a little strange with filenames that have leading hexadecimal strings. This is because Tixati sorts text/name columns using the StrCmpLogicalW function on Windows builds, and g_utf8_collate_key_for_filename on Linux builds. These functions are intended to sort in a locale-sensitive manner, eg. not paying attention to case, accents, etc. Sometimes when numbers are involved they can get a little confused, but it's the best/fastest option that is available at the moment.
Also, Tixati does in fact use a multi-column stable sort, so duplicate data in the primary sort column will then defer to the previous column sort, and so on. It depends on which columns you are sorting by, and in which view, but the depth can be anywhere between 1 and 6 columns.