Is there a way to automatically create groups based on grades?

lekern
Community Participant

Instructor would like to create groups in his class based on quiz scores. Is there a way to use the API to do this?