What does sort and aggregate do on a chart?

I created a chart off of one of my data tools, and noticed the config panel had a sort dropdown with "Ascending", "Descending", and "None" as options. There is also a checkbox labeled "Aggregate?". What do these do?