dataTable sorting fixed for transactions