I have seen the following Python code which uses jQuery and datatable
req = request.GET sort_col = req[\'columns[%s][data]\' % req[\'order[0][column]\']] glob_sea