safe pure nothrow sort and sum
Merge pull request #2075 from monarchdodra/sumInfer

safe pure nothrow sort and sum