This program is sorting two dimension array by Spiral's Type principe.