add sorting to sl-group