- sort according graph category