sort output of dpkg