Change order of relationships index so pending relationships are at the top