Input the dimensions of 10 shapes and sort by ascending volume, providing total and average volumes.