Added unix sort calls