Sort manifest.