JavaScript Array Sort . max

Edit This Code :
Result :