fix sort files