The graph attributes based on a GROUP variable will typically assign the first element of the style to the first level of group encountered. So sometimes just sorting the data so the "second" group appears first will do.
Most of the graphs will also allow a GROUPORDER= option. The default is DATA which is why sorting sometimes works. Options Grouporder=Reversedata would treat group variable in reverse order so would likely work for this case. Grouporder=Ascending or Descending would display in sort order or reverse sort order of the group variable.