Sort summary items.