I could do all the sorting in getInputData and go ...
# suitescript
k
I could do all the sorting in getInputData and go straight to reduce without a map, but that still leaves the post-processing to be done