adding two more sorting problems