Improve log fetching strategy

1) Sort files by date
2) Cut a batch by aggregated size