Sort methods for better readability
Also detect noneEndEvent in subProcesses