Sorting Out Lipschitz Function Approximation