The Sum-of-Divisors Minimum and Maximum Functions