Fixed group order.

closes #18
Fixed #19.

closes #19