Sort using one measure but create chart displaying another measure

Hi all,

I am trying to create a chart for product performance for the top 25 and I am trying to sort by the value (sales revenue) from highest to lowest. I am then trying to create a chart for these 25 products to only show their gross profit %, but still sorted by value. Is this possible?

Thank you.