Once you define custom sorting for a column like in Github and UI-Grid
How can you access the column from inside the algorithm?
var myAwesomeSortFn = function(a,b, rowA, rowB, direction){
// "Need to access the name (field) of column being sorted here";
var column = "No Idea"
console.log("sorting by column " + column );
if (a == b) return 0;
if (a < b) return -1;
if (a > b) return 1;
};