You could also use
SELECT GroupID,
SomeValue
FROM tablename
ORDER BY MAX(CRYPT_GEN_RANDOM(4)) OVER (PARTITION BY GroupID),
SomeValue;
You could also use
SELECT GroupID,
SomeValue
FROM tablename
ORDER BY MAX(CRYPT_GEN_RANDOM(4)) OVER (PARTITION BY GroupID),
SomeValue;