GraphBuilder: Sort label names to fix label_name_id
label_name_id bisects the requested name in the list of label names, so the list needs to be sorted.
label_name_id bisects the requested name in the list of label names, so the list needs to be sorted.