sort link object for v3