RESOLVE BUG - sorting tabular