Sorted group stats
diff --git a/cli/cli/c_actions.py b/cli/cli/c_actions.py
index 2d87f44..17e41b5 100755
--- a/cli/cli/c_actions.py
+++ b/cli/cli/c_actions.py
@@ -2057,7 +2057,6 @@
 
     When sort isn't None, it names a field whose's value are sorted on.
     """
-
     if sdnsh.description:   # description debugging
         print "command_display_rest: ", data, url, rest_type, table_format, detail
 
@@ -2397,7 +2396,6 @@
                                         table_format % data,
                                         detail,
                                         sdnsh.debug)
-        # 
         if sort:
             def sort_cmp(x,y):
                 for f in sort:
diff --git a/cli/cli/desc/version200/switch.py b/cli/cli/desc/version200/switch.py
index 7daabcd..fa0be6f 100755
--- a/cli/cli/desc/version200/switch.py
+++ b/cli/cli/desc/version200/switch.py
@@ -201,6 +201,7 @@
                                         'group'
                                         ),
                         'action'     : 'display-rest',
+                        'sort'       : ['groupid',],
                         'url'        : [
                                         'realtimestats/%(realtimestats)s/%(dpid)s/',
                                         'realtimestats/%(realtimestats)s/all/',