Commutative or not
Cyclic groups are abelian; dihedral ones past n = 2 are not.
source
<notatio-cell value="GroupIsAbelian(CyclicGroup(6))" />
<notatio-cell value="GroupIsAbelian(DihedralGroup(4))" />
<notatio-cell value="GroupOrder(DihedralGroup(4))" />