Sorting using d3js
问题 I want to sort my json data in ascending order which has title, price. want to sort by price. This my json data which is used in d3js. var data = [ {"title":"ACER Aspire DQ.SP3EK.001 ZS 605 Refurbished 19.5\u201d All-in-One PC", "price":"<549.99"}, {"title":"LENOVO C540 23\u201d Touchscreen All-in-One PC","price":"699.99"}, {"title":"ACER Aspire V5-122P 11.6\u201d Touchscreen Laptop/u2013silver","price" :"499.99"}, {"title":"HP Pavilion 15-n097ea 15.6 Laptop \u2013 Goji Berry","price":"429.99