Sorting posts by date
Initial posts, needs to be fixed