added sort on UDP events