MDL-44071 Webservices:ensure course sort is called during course delete

Signed-off-by: zbdd <zdurber@gmail.com>