fix ordering in get_grouping method call

Signed-off-by: Dan Loewenherz <dloewenherz@gmail.com>