problem.jpg

I want to order these sections depends on percentage values on D2 columns. The idea is "Biggest goes top". But the group of cells include pictures and irregular rows columns. How can i do that?