Demo

Click on the headers (fruit/quantity).

Fruit Quantity
Grape 15
Apple 4
Banana 88
Orange 11
Melon 21
Tomato 36