Sort the repository output for polygamy status