I have an array of objects with several key value pairs, and I need to sort them based on \'updated_at\':
[ { \"updated_at\" : \"2012-01-01T06:25
With ES2015 support it can be done by:
foo.sort((a, b) => a.updated_at < b.updated_at ? -1 : 1)