Java Programming Exercises : Sort integer array without using api (Bubble Sort)

In this tutorial, I'm going to show about how to sort integer array without using api. Let's start:
import java.util.Scanner;
public class NumbeSort {

 public static void main(String[] args) {
  // TODO Auto-generated method stub
  int[] number = new int[5];
  System.out.print("Input 5 numbers: ");
  Scanner myScanner = new Scanner(System.in);
  for(int i=0;i<5;i++){
   number[i]=myScanner.nextInt();
  }
  for(int i=0;i<5;i++){
   for(int k=0;k<5;k++){
    if(number[i]<number[k]){
     int temp = number[i];
     number[i]=number[k];
     number[k]=temp;
    }
   }
  }
  for(int i=0;i<5;i++){
   System.out.print(number[i]+"  ");
  }
 }
}