Sort pub outputs