added sorting options to OccurrenceDAO