Display not shown ordered by time when used GROUP BY


I intend to display some data “GROUP BY “tag” ORDER BY time”. The order of display is ascending alphabetical order for the tag, not by the time. The complete query is as follows:
SELECT max(“field”) FROM “measurement” GROUP BY “tag” ORDER BY time

Please let know if I’m missing anything here.

Thanks in advance.