listApiMethods() now returns a sorted list instead of a dict by group