public function getSortedEvents() {
		if ($events = $this->getEvents()) {
			usort(
				$events, function ($a, $b) {
				return $a['DTSTART'] > $b['DTSTART'];
			}
			);
			return $events;
		}
		return [];
	}
public function getSortedEvents() {
		if ($events = $this->getEvents()) {
			usort(
				$events, function ($a, $b) {
				return $a['DTSTART'] > $b['DTSTART'];
			}
			);
			return $events;
		}
		return [];
	}
public function getSortedEvents ( ) { if ( $ events = $ this -> getEvents ( ) ) { usort ( $ events , function ( $ a , $ b ) { return $ a [ 'DTSTART' ] > $ b [ 'DTSTART' ] ; } ) ; return $ events ; } return [ ] ; }
Return sorted event list as array

@return array
Return sorted event list as array