[RichWidgets] List_SortColumn add SortDirection

[RichWidgets] List_SortColumn add SortDirection

  
Anybody experimented with the jQuery to have the SortDirection in the CSS here ... ?
See underlined bit

function RichWidgets_List_SortColumn(Column, linkId, sortColumn_OrderBy, pageName, inputTableRecordsId){
 osjs(function($) {
  var columnHeader = $('#' + linkId).parents('th:eq(0)');
  
  columnHeader.click(function(){
   $('#' + linkId).triggerHandler("click");
  });
  var tableRecordsId = $('#' + linkId).parents('table.TableRecords:eq(0)').attr('id');
  $('#' + inputTableRecordsId).val(tableRecordsId);
  var isSortedColumn = sortColumn_OrderBy.indexOf(pageName + ":" + tableRecordsId + "=" + Column)>-1;
  if (isSortedColumn){

   columnHeader.addClass('SortColumns_Sorted');

  } else {
   columnHeader.addClass('SortColumns_Sortable');
  }
 });
}