Sort and Smooth Algorithm for Graphon Estimation