added summary commas and made sorting prettier