2013-10-24 00:05:17 +02:00
|
|
|
void Sort_by_Name(int a, b)
|
|
|
|
{
|
|
|
|
int j, i = a;
|
|
|
|
if (a >= b) return;
|
|
|
|
for (j = a; j <= b; j++)
|
2018-04-11 19:46:08 +02:00
|
|
|
if (strcmpi(files_mas[j]*304 + buf+72, files_mas[b]*304 + buf+72)<=0) {
|
|
|
|
files_mas[i] >< files_mas[j];
|
|
|
|
i++;
|
|
|
|
}
|
2013-10-24 00:05:17 +02:00
|
|
|
Sort_by_Name(a, i-2);
|
|
|
|
Sort_by_Name(i, b);
|
|
|
|
}
|