Resolved issues with sorting (hopefully) and fixed formatting of week day in x axis labels