sort cannot redirect to file, it just write to file using option -o