Sort Array In Java Using Sort In Sql