R ggplot Order by Calculated value

Experimenting with an HR dataset, exploring why people 'left' the company (boolean value). Investigating the effect of job functions ('sales') while also showing salary for context. I would like to order the bars by the 'left' percentage and have had no luck doing so.

Any tips appreciated.

enter image description here