system("sort -t\\| +1 -2 $file >$file.out 2>/tmp/errors");