Yes. If you want to reverse the order, use 'outPin[7-i]' or just fill in the outPin array in the right order.
'outPin[7-i]'