Final sort files