sort files before analyze pnl