analysis daily sorting by day instead of string