Fix error for "last month" tab

The tables were not correctly loaded, so the first table included
contained wrong information. Not it is fixed and sorted by time.