On 24 Oct 2018, at 13:49, Gabriel Ivăncescu gabrielopcode@gmail.com wrote:
On Wed, Oct 24, 2018 at 10:50 AM Huw Davies huw@codeweavers.com wrote:
I don't see why do you need a stable sort here. Using libc's qsort should be fine at first.
Because the strings are compared case insensitively, so keeping the order in which they are originally enumerated is important to distinguish this, since some apps want to have them in a certain way (and probably even provide them already sorted, for example, like files on a case-insensitive filesystem, i.e. Total Commander, which should be in the exact same way).
I still don't see why this matters.
Huw.