home/min-max.py: "sorted" solution added