Sort Array Without Using Inbuilt Keyboard