title: How to retrive highest time spent from array of object Javascript
body: <p>I have an array of object in which I have calculated <strong>sessions(time spent) of particular ip</strong>.  I have calculated spent time in hh:mm:ss format so that it will easy to understand.</p>
  
  <pre><code>[ { start: 'Thu, 10 Jan 2019 06:04:49 GMT',
      end: 'Thu, 10 Jan 2019 06:12:22 GMT',
      total_spend: '00:07:27' },
    { start: 'Thu, 10 Jan 2019 07:58:18 GMT',
      end: 'Thu, 10 Jan 2019 07:59:09 GMT',
      total_spend: '00:00:50' },
    { start: 'Thu, 10 Jan 2019 09:28:00 GMT',
      end: 'Thu, 10 Jan 2019 09:59:46 GMT',
      total_spend: '00:31:46' } ]
  </code></pre>
  
  <p>now I want the <strong>highest of total_spend from above array</strong> i.e </p>
  
  <blockquote>
    <p>maximum time spent compare to all object that should be '00:31:46' (31
    minutes, 46 seconds)</p>
  </blockquote>
  
  <p>I can't understand how I'll compare this as all comparison in this format so far I've seen was converted to date then compared. Either I can convert it into ms and then I should compare. Is there any other way to execute this?</p>