solution: problems.py sort_rows