In this particular example, order does matter. But at the moment, the only method I can think of is to tediously list them out.
$0+1+7$
$0+2+6$
And so on. But I am thinking that there is surely a better way in general, especially when there are more and more numbers.