providing an ability to sort by related table column name on listings page