Daily and weekly sorting feature added.