mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 03:42:35 +03:00
8e14e05cbd
git-svn-id: svn://kolibrios.org@4078 a494cfbc-eb01-0410-851d-a64ba20cac60
9 lines
256 B
C
9 lines
256 B
C
void Sort_by_Name(int a, b)
|
|
{
|
|
int j, i = a;
|
|
if (a >= b) return;
|
|
for (j = a; j <= b; j++)
|
|
if (strcmp(files_mas[j]*304 + buf+72, files_mas[b]*304 + buf+72)<=0) { files_mas[i] >< files_mas[j]; i++;}
|
|
Sort_by_Name(a, i-2);
|
|
Sort_by_Name(i, b);
|
|
} |