Sorting and localize new file