Random result order when not using order by clause

When I use order by after group by ,my result shows random.