解释C语言中的排序概念

#include
int main(){
int a[50], i,j,n,t,sm;
printf("enter the No: of elements in the list:

");
scanf("%d", &n);
printf("enter the elements:

");
for(i=0; i