Added check for empty courses/targets/events and displayed lists in alphabetical order