Clip editor: Sort tracks alphabetically when they have matched error

Is nice to ensure order of tracks when their error is the same or
is not known yet (the clip was not solved yet).
This commit is contained in:
Sergey Sharybin 2022-06-14 17:32:15 +02:00
parent 412c468893
commit c1a231f40b
1 changed files with 4 additions and 0 deletions

View File

@ -2904,6 +2904,10 @@ static int channels_average_error_sort(const void *a, const void *b)
return 1;
}
if (channel_a->track->error == channel_b->track->error) {
return channels_alpha_sort(a, b);
}
return 0;
}