Javascript Max Number In Array Of Objects Sort