Sort The Array In Descending Order Using For Loop In Javascript