I have to array 1 for age label and 1 for age count. I wanted to sort the label how to make to values array sorted connected to the first one
AgeLabel = ['43 yo', '12 yo', '33 yo', '25 yo']
AgeCount = [ 10, 20 ,30 ,40 ]
expected result
AgeLabel = ['12 yo', '25 yo', '33 yo', '43 yo']
AgeCount = [ 20, 40 ,30 ,10 ]