Its a well written function. I saw the output. ListSumPairSelect[] function is displaying 8 pairs per item.
The requirement is to display the output with original list itself that's grouped in pairs such that each pair sum is present in the sums list.
Current Output:
ListSumPairSelect[list, sums][[1]]
{{1, 5}, {2, 4}, {3, 2}, {1, 4}, {1, 5}, {3, 6}, {2, 7}, {1, 9}}
ListSumPairSelect[list, sums][[100]]
{{1, 5}, {2, 7}, {3, 2}, {1, 4}, {1, 5}, {6, 4}, {3, 7}, {1, 9}}
ListSumPairSelect[list, sums][[864]]
{{1, 9}, {3, 2}, {3, 7}, {6, 4}, {5, 4}, {6, 4}, {3, 7}, {1, 9}}
Expected Output: (should contain ONLY original list elements in pairs)
{{9, 1}, {7, 2}, {6, 3}, {5, 4}}