I am going to find out how to use the jarray sort here.