Git commits in Moodle 3.8.2 by Mikhail Golenkov

commit 3d20910e8802473d7cb658c7f79a6fcb324f09fa
Author: Mikhail Golenkov <mikhailgolenkov@catalyst-au.net>
Date:   Mon, 17 Feb 2020 11:58:15 +0800
Tag:    v3.8.2

MDL-67980 tasks: Sort ad-hoc tasks by nextruntime.

commit 2cb5e230068d5c75e6df9f587be2a9913506e12e
Author: Mikhail Golenkov <mikhailgolenkov@catalyst-au.net>
Date:   Tue, 21 Jan 2020 13:02:30 +0800
Tag:    v3.8.2

MDL-67746 Tasks: Cleanup task logs in chunks.