si, lo note mas tarde jeje, gracias de todos modos, ya casi termino el programita, y si estoy muy guey, puse busqueda y es ordenacion, mil disculpas

y gracias de nuevo, otra preguntita mass, y perdon por dar tanta lata, el codigo ahora queda asi:
import java.io.*;
public class Ordenamiento
{
public static void main(String[] args)
{
String sLine;
BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
int Arr[];
Arr = new int[5];
int aux;
try
{
for (int i=0; i<=4; i++)
{
System.out.print("Ingresa un numero" + (i+1) + ":");
sLine = stdin.readLine ();
Arr[i]=Integer.parseInt(sLine);
}
for (int i=0; i<=4; i++)
{
for (int j=0; j<4; j++)
{
if (Arr[j]>Arr[j+1])
{
aux=Arr[j];
Arr[i]=Arr[j+1];
Arr[j+1]=aux;
}
}
}
for (int i=0; i<=4; i++)
{
System.out.println ("Numero: " + (Arr[i]));
}
}
catch(Exception e)
{
System.out.println("Hubo un error");
}
}
}
ya compile y m corre, pero ahora lo que sucede es que, si introduzco esto:5,9,3,10,5, m imprime segun ordenados y m imprime esto:
5
9
9
10
10
porque es?
