Rename SortFunc2D parameters to match documentation (bug 6014, r=kyles).