React tables sorting

Functions for sorting by group name, repo name and commit date.