analysis daily sorting by day instead of string

Closes #23