1👍
You want either Django pagination or a Javascript solution–but not both.
If you table-sorting in JS, your users probably expect that to sort the entire table–not just the rows that you get for this page of Django. Probably you want to not use Django pagination at all and have this all done in JS. If you’re using jQuery tablesort, there already is a pagination plugin for it.
Source:stackexchange.com