//Script.NET examples
//(c)2007-2009, Protsyk Petro, http://www.protsyk.com

         a=[17, 0, 5, 3,1, 2, 55];

         for (i=0; i < a.Length; i=i+1)
          for (j=i+1; j <  a.Length; j=j+1)
           if (a[i] > a[j] )
           {
             temp = a[i]; 
             a[i] = a[j];
             a[j] = temp;
           }

          s = 'Results:';
          for (i=0; i < a.Length; i++)
           s = s + ',' + a[i];
