How can you re-order an array of objects based on the object's string property value?

前端 未结 0 1025
广开言路
广开言路 2020-12-04 12:00

I\'m working on a pie chart with a legend. My legend is an array of objects that renders on the dom where the first index starts from the top.

const dummydata         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题