Need help in Java programing

Hey, i have to do a program that works with arrays.i have list1[] which goes from 0 to 9. in each i have a random number. i need to get list2[] from 0 to 9, that gets the random numbers in list1[] and puts them in descending order (greater to least)...could you write an example so i can see how it goes... or explain or something...thanks