Optimized net_crypto UDP packet sorting using list.
Removed useless code