Please help in sorting the form
<table class="dataGridttc1" id="tn-records-grid">
<th><?php echo $sort->link('Category_id'); ?></th>
In this code it sorts by category id but I want it to be sorted by Category Name not by ID
In the order model I have defined the relation.