Sort Array In Java Without Sort Method In Linq