sub sort g2g