/programs/cmm/eolite/include/sorting.h |
---|
16,8 → 16,9 |
int j; |
int isn = a; |
if (a >= b) return; |
for (j = a; j <= b; j++) |
if (strcmp(file_mas[j]*304 + buf+72, file_mas[b]*304 + buf+72)<=0) { file_mas[isn] >< file_mas[j]; isn++;} |
for (j = a; j <= b; j++) { |
if (strcmpi(file_mas[j]*304 + buf+72, file_mas[b]*304 + buf+72)<=0) { file_mas[isn] >< file_mas[j]; isn++;} |
} |
Sort_by_Name(a, isn-2); |
Sort_by_Name(isn, b); |
} |
50,5 → 51,3 |
Sort_by_Type(isn, b); |
} |