Optimal depth sorting networks