## 123 chars (+3 newlines) A standard Shell sort, compressed. d,i,j;float t; void sort(float*v,int n){ for(d=1<<20;i=d/=2;)for(;i<n;v[j]=t)for(t=v[j=i++];j>=d&&v[j-d]>t;j-=d)v[j]=v[j-d]; }