which would produce a group for each set of bins which contained 50 or more counts. By default the grouping begins from the low energy end (usually the first channel). To reverse this and start from the high energy end use:
Note this grouping is based on the number of counts in the source spectrum, which may also contain background.