Array sum, icons, and comparison