#!/bin/sh
#$ -S /bin/sh
# sh chipatlas/sh/makePeakBrowser/sortById.sh tmpDirForPeakBrowser/splitByChr/dm3/bmap/12615171/chr3L

fn=$1
LANG=C sort -k1,1 -k2,2n $fn > $fn.sorted
rm $fn
