How can I write a program that inputs 5 student's names and grades (into two arrays), sorts the two arrays on the basis of the grade (highest to lowest), and then prints out the names and grades sorted this way.

by the way i am using JBuilder so its a java program.