fix orderBy links