sort -n +1 a_file | head -5 > first_five_sorted