public static int[] selectionSort(int array[]){
	         
	        for (int i = 0; i < array.length - 1; i++)
	        {
	            int index = i;
	            for (int j = i + 1; j < array.length; j++)
	                if (array[j] < array[index])
	                    index = j;
	      
	            int min = array[index]; 
	            array[index] = array[i];
	            array[i] = min;
	        }
	        return array;
	    }