1508 Range Sum of Sorted Subarray Sums