ignore os cabeçalhos no tipo Linux

    your_script | (sed -u 1q; sort)
Ethan Creamer