#!/usr/bin/perl -w open ($FH,'| sort -n') or die($!); while(){ print $FH $_; } close $FH;