How can I use underscore or angular to sort the unique product grades and product last delivered dates before putting them into a dropdown filter?
product_grades = ["", "40", "20", "30", "35", "45", "50", "60"]
product_last_delivered = ["2015-07-29T00:00:00.000+08:00", "2015-04-10T00:00:00.000+08:00", "2015-11-19T00:00:00.000+08:00", "2015-01-05T00:00:00.000+08:00", "2015-11-18T00:00:00.000+08:00", "2015-11-04T00:00:00.000+08:00", "2015-04-01T00:00:00.000+08:00", "2014-10-15T00:00:00.000+08:00", "2015-10-24T00:00:00.000+08:00", "1899-12-31T23:36:42.000+07:36", "2015-10-20T00:00:00.000+08:00", "2015-06-17T00:00:00.000+08:00", "2015-11-14T00:00:00.000+08:00", "2015-03-12T00:00:00.000+08:00", "2015-07-18T00:00:00.000+08:00", "2015-07-27T00:00:00.000+08:00", "2015-09-21T00:00:00.000+08:00", "2015-10-07T00:00:00.000+08:00"]