If you want a list of the terms, use get_terms():
<?php
$terms = get_terms('pa_main-genre', array('orderby' => name,));
?>
If you want a list of the terms, use get_terms():
<?php
$terms = get_terms('pa_main-genre', array('orderby' => name,));
?>