Sorting not really working
Yet another sorting issue..!
I need to sort my data according to only one column with IDs, so I have set the sort: 'asc', but sorting is not really well done. Clicking the column header changes the sorting but in a weird way, some rows are ordered, some are not.
I am also pivoting by 2 columns, but even when I don't, my data still is not shown in a sorted order. Also not working if I pivot by more columns. So pivoting is not the issue here I think.
The data that I provide are already in the order I want, so theoretically even if i disable all sorting options, they should be shown in the order I provide them, right? or is this not the expected behavior?
Hi, I want to sort by name.fullname but fullname is in Lowercase as well as uppercase. It is sorting based on uppercase only. It is not considering lowercase. Can please help me. [ { "email": "[email protected]", "fname": "Hema", "lname": "Latha", "branch": null, "userid": 10, "college": null, "testdata": [ { "status": 1, "testid": 1779, "duedate": "2024-03-15 15:52:23.000000", "libtype": 4, "timeleft": null, "lpconfigid": 1023 }, { "status": 1, "testid": 654, "duedate": "2024-03-15 15:51:55.000000", "libtype": 2, "timeleft": null, "lpconfigid": 1020, "targetscore": 6, "testname": null, "testdata": null, "credibilityScore": 0 }, { "status": 1, "testid": 658, "duedate": "2024-03-15 15:52:18.000000", "libtype": 5, "timeleft": null, "lpconfigid": 1022, "targetscore": 20, "testname": null, "testdata": null }, { "status": 1, "testid": 656, "duedate": "2024-03-15 15:52:09.000000", "libtype": 3, "timeleft": null, "lpconfigid": 1021, "testdata": null, "credibilityScore": 0, "targetscore": 10, "testname": null } ], "userstatus": 1, "name": { "fullname": "Hema Latha", "userstatus": 1 }, "654EMTestMcq": { "targetscore": 6, "actualscore": 0, "duedate": "2024-03-15 15:51:55.000000", "status": 1, "testid": 654, "credibilityscore": 0, "lpconfigid": 1020, "libtype": 2, "testname": "EM - Test Mcq", "displaytext": "TBE", "timeleft": null, "lname": "Hema Latha", "learnerid": 10, "mid": 313, "modName": "Second", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "654EMTestMcq", "apiattributes": { "learnerid": 10, "lpid": 224, "testid": 654 }, "filterattributes": { "type": "mcq", "libtype": 2, "hname": "654EM - Test Mcq", "testmode": 2 } }, "656EMTestdesc": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:09.000000", "status": 1, "testid": 656, "credibilityscore": 0, "lpconfigid": 1021, "libtype": 3, "testname": "EM-Test desc", "displaytext": "TBE", "timeleft": null, "lname": "Hema Latha", "learnerid": 10, "mid": 313, "modName": "Second", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "656EMTestdesc", "apiattributes": { "learnerid": 10, "lpid": 224, "testid": 656 }, "filterattributes": { "type": "des", "libtype": 3, "hname": "656EM-Test desc", "testmode": 2 } }, "313SecondTestTotal": { "actualscore": 0, "filterattributes": { "type": "moduletotals" } }, "658EMTestcodingRecursionQ1": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:18.000000", "status": 0, "testid": 658, "testqnno": null, "questionid": null, "lpconfigid": 1022, "libtype": 5, "testname": "EM-Test coding", "timeleft": null, "lname": "Hema Latha", "learnerid": 10, "mid": 312, "modName": "First", "score_per": 0, "cs_per": 0, "testmode": 2, "questionscount": 1, "repqueno": 1, "topicid": 106, "topicname": "Recursion", "accessor": "658EMTestcodingRecursionQ1", "userstatus": 1, "apiattributes": { "learnerid": 10, "lpid": 224, "testqnno": null, "questionid": null, "testid": 658 }, "filterattributes": { "type": "ccq", "hname": "658EM-Test codingRecursionQ1", "libtype": 5, "testmode": 2 } }, "658EMTestcodingCOECC2Q1": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:18.000000", "status": 0, "testid": 658, "testqnno": null, "questionid": null, "lpconfigid": 1022, "libtype": 5, "testname": "EM-Test coding", "timeleft": null, "lname": "Hema Latha", "learnerid": 10, "mid": 312, "modName": "First", "score_per": 0, "cs_per": 0, "testmode": 2, "questionscount": 1, "repqueno": 1, "topicid": 99, "topicname": "COE CC2", "accessor": "658EMTestcodingCOECC2Q1", "userstatus": 1, "apiattributes": { "learnerid": 10, "lpid": 224, "testqnno": null, "questionid": null, "testid": 658 }, "filterattributes": { "type": "ccq", "hname": "658EM-Test codingCOE CC2Q1", "libtype": 5, "testmode": 2 } }, "658EMTestcodingTotal": { "lname": "Hema Latha", "repqueno": 3, "learnerid": 10, "mid": 312, "modName": "First", "targetscore": 20, "duedate": "2024-03-15 15:52:18.000000", "actualscore": 0, "score_per": null, "credibilityscore": 0, "cs_per": 0, "status": 2, "lpconfigid": 1022, "libtype": 5, "testid": 658, "testname": "EM-Test coding", "testmode": 2, "timeleft": null, "userstatus": 1, "accessor": "658EMTestcodingTotal", "apiattributes": { "learnerid": 10, "lpid": 224, "testqnno": null, "questionid": null }, "filterattributes": { "type": "cct", "hname": "658EM-Test codingTotal", "libtype": 5, "testmode": 2 } }, "1779EMAssignment1": { "actualscore": 0, "duedate": "2024-03-15 15:52:23.000000", "status": 1, "testid": 1779, "credibilityscore": 0, "lpconfigid": 1023, "libtype": 4, "testname": "EM-Assignment1", "displaytext": "TBE", "timeleft": null, "lname": "Hema Latha", "learnerid": 10, "mid": 312, "modName": "First", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "1779EMAssignment1", "apiattributes": { "learnerid": 10, "lpid": 224, "testid": 1779 }, "filterattributes": { "type": "assi", "libtype": 4, "hname": "1779EM-Assignment1", "testmode": null } }, "312FirstTestTotal": { "actualscore": 0, "filterattributes": { "type": "moduletotals" } }, "GrandTotal": { "actualscore": 0, "filterattributes": { "type": "grandtotal" } } }, { "email": "[email protected]", "fname": "madhavi", "lname": "chennamaneni", "branch": null, "userid": 14, "college": null, "testdata": [ { "status": 1, "testid": 656, "duedate": "2024-03-15 15:52:09.000000", "libtype": 3, "timeleft": 1200, "lpconfigid": 1021, "targetscore": 10, "testname": null, "testdata": null, "credibilityScore": 0 }, { "status": 1, "testid": 658, "duedate": "2024-03-15 15:52:18.000000", "libtype": 5, "timeleft": 1200, "lpconfigid": 1022, "targetscore": 20, "testname": null, "testdata": null }, { "status": 1, "testid": 654, "duedate": "2024-03-15 15:51:55.000000", "libtype": 2, "timeleft": 1200, "lpconfigid": 1020, "testdata": null, "credibilityScore": 0, "targetscore": 6, "testname": null }, { "status": 1, "testid": 1779, "duedate": "2024-03-15 15:52:23.000000", "libtype": 4, "timeleft": null, "lpconfigid": 1023 } ], "userstatus": 1, "name": { "fullname": "madhavi chennamaneni", "userstatus": 1 }, "654EMTestMcq": { "targetscore": 6, "actualscore": 0, "duedate": "2024-03-15 15:51:55.000000", "status": 1, "testid": 654, "credibilityscore": 0, "lpconfigid": 1020, "libtype": 2, "testname": "EM - Test Mcq", "displaytext": "TBE", "timeleft": 1200, "lname": "madhavi chennamaneni", "learnerid": 14, "mid": 313, "modName": "Second", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "654EMTestMcq", "apiattributes": { "learnerid": 14, "lpid": 224, "testid": 654 }, "filterattributes": { "type": "mcq", "libtype": 2, "hname": "654EM - Test Mcq", "testmode": 2 } }, "656EMTestdesc": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:09.000000", "status": 1, "testid": 656, "credibilityscore": 0, "lpconfigid": 1021, "libtype": 3, "testname": "EM-Test desc", "displaytext": "TBE", "timeleft": 1200, "lname": "madhavi chennamaneni", "learnerid": 14, "mid": 313, "modName": "Second", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "656EMTestdesc", "apiattributes": { "learnerid": 14, "lpid": 224, "testid": 656 }, "filterattributes": { "type": "des", "libtype": 3, "hname": "656EM-Test desc", "testmode": 2 } }, "313SecondTestTotal": { "actualscore": 0, "filterattributes": { "type": "moduletotals" } }, "658EMTestcodingRecursionQ1": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:18.000000", "status": 0, "testid": 658, "testqnno": null, "questionid": null, "lpconfigid": 1022, "libtype": 5, "testname": "EM-Test coding", "timeleft": null, "lname": "madhavi chennamaneni", "learnerid": 14, "mid": 312, "modName": "First", "score_per": 0, "cs_per": 0, "testmode": 2, "questionscount": 1, "repqueno": 1, "topicid": 106, "topicname": "Recursion", "accessor": "658EMTestcodingRecursionQ1", "userstatus": 1, "apiattributes": { "learnerid": 14, "lpid": 224, "testqnno": null, "questionid": null, "testid": 658 }, "filterattributes": { "type": "ccq", "hname": "658EM-Test codingRecursionQ1", "libtype": 5, "testmode": 2 } }, "658EMTestcodingCOECC2Q1": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:18.000000", "status": 0, "testid": 658, "testqnno": null, "questionid": null, "lpconfigid": 1022, "libtype": 5, "testname": "EM-Test coding", "timeleft": null, "lname": "madhavi chennamaneni", "learnerid": 14, "mid": 312, "modName": "First", "score_per": 0, "cs_per": 0, "testmode": 2, "questionscount": 1, "repqueno": 1, "topicid": 99, "topicname": "COE CC2", "accessor": "658EMTestcodingCOECC2Q1", "userstatus": 1, "apiattributes": { "learnerid": 14, "lpid": 224, "testqnno": null, "questionid": null, "testid": 658 }, "filterattributes": { "type": "ccq", "hname": "658EM-Test codingCOE CC2Q1", "libtype": 5, "testmode": 2 } }, "658EMTestcodingTotal": { "lname": "madhavi chennamaneni", "repqueno": 3, "learnerid": 14, "mid": 312, "modName": "First", "targetscore": 20, "duedate": "2024-03-15 15:52:18.000000", "actualscore": 0, "score_per": null, "credibilityscore": 0, "cs_per": 0, "status": 2, "lpconfigid": 1022, "libtype": 5, "testid": 658, "testname": "EM-Test coding", "testmode": 2, "timeleft": null, "userstatus": 1, "accessor": "658EMTestcodingTotal", "apiattributes": { "learnerid": 14, "lpid": 224, "testqnno": null, "questionid": null }, "filterattributes": { "type": "cct", "hname": "658EM-Test codingTotal", "libtype": 5, "testmode": 2 } }, "1779EMAssignment1": { "actualscore": 0, "duedate": "2024-03-15 15:52:23.000000", "status": 1, "testid": 1779, "credibilityscore": 0, "lpconfigid": 1023, "libtype": 4, "testname": "EM-Assignment1", "displaytext": "TBE", "timeleft": null, "lname": "madhavi chennamaneni", "learnerid": 14, "mid": 312, "modName": "First", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "1779EMAssignment1", "apiattributes": { "learnerid": 14, "lpid": 224, "testid": 1779 }, "filterattributes": { "type": "assi", "libtype": 4, "hname": "1779EM-Assignment1", "testmode": null } }, "312FirstTestTotal": { "actualscore": 0, "filterattributes": { "type": "moduletotals" } }, "GrandTotal": { "actualscore": 0, "filterattributes": { "type": "grandtotal" } } }, { "email": "[email protected]", "fname": "Mathan", "lname": "U", "branch": null, "userid": 12, "college": null, "testdata": [ { "status": 1, "testid": 654, "duedate": "2024-03-15 15:51:55.000000", "libtype": 2, "timeleft": null, "lpconfigid": 1020, "targetscore": 6, "testname": null, "testdata": null, "credibilityScore": 0 }, { "status": 1, "testid": 1779, "duedate": "2024-03-15 15:52:23.000000", "libtype": 4, "timeleft": null, "lpconfigid": 1023 }, { "status": 1, "testid": 656, "duedate": "2024-03-15 15:52:09.000000", "libtype": 3, "timeleft": null, "lpconfigid": 1021, "testdata": null, "credibilityScore": 0, "targetscore": 10, "testname": null }, { "status": 1, "testid": 658, "duedate": "2024-03-15 15:52:18.000000", "libtype": 5, "timeleft": null, "lpconfigid": 1022, "targetscore": 20, "testname": null, "testdata": null } ], "userstatus": 1, "name": { "fullname": "Mathan U", "userstatus": 1 }, "654EMTestMcq": { "targetscore": 6, "actualscore": 0, "duedate": "2024-03-15 15:51:55.000000", "status": 1, "testid": 654, "credibilityscore": 0, "lpconfigid": 1020, "libtype": 2, "testname": "EM - Test Mcq", "displaytext": "TBE", "timeleft": null, "lname": "Mathan U", "learnerid": 12, "mid": 313, "modName": "Second", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "654EMTestMcq", "apiattributes": { "learnerid": 12, "lpid": 224, "testid": 654 }, "filterattributes": { "type": "mcq", "libtype": 2, "hname": "654EM - Test Mcq", "testmode": 2 } }, "656EMTestdesc": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:09.000000", "status": 1, "testid": 656, "credibilityscore": 0, "lpconfigid": 1021, "libtype": 3, "testname": "EM-Test desc", "displaytext": "TBE", "timeleft": null, "lname": "Mathan U", "learnerid": 12, "mid": 313, "modName": "Second", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "656EMTestdesc", "apiattributes": { "learnerid": 12, "lpid": 224, "testid": 656 }, "filterattributes": { "type": "des", "libtype": 3, "hname": "656EM-Test desc", "testmode": 2 } }, "313SecondTestTotal": { "actualscore": 0, "filterattributes": { "type": "moduletotals" } }, "658EMTestcodingRecursionQ1": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:18.000000", "status": 0, "testid": 658, "testqnno": null, "questionid": null, "lpconfigid": 1022, "libtype": 5, "testname": "EM-Test coding", "timeleft": null, "lname": "Mathan U", "learnerid": 12, "mid": 312, "modName": "First", "score_per": 0, "cs_per": 0, "testmode": 2, "questionscount": 1, "repqueno": 1, "topicid": 106, "topicname": "Recursion", "accessor": "658EMTestcodingRecursionQ1", "userstatus": 1, "apiattributes": { "learnerid": 12, "lpid": 224, "testqnno": null, "questionid": null, "testid": 658 }, "filterattributes": { "type": "ccq", "hname": "658EM-Test codingRecursionQ1", "libtype": 5, "testmode": 2 } }, "658EMTestcodingCOECC2Q1": { "targetscore": 10, "actualscore": 0, "duedate": "2024-03-15 15:52:18.000000", "status": 0, "testid": 658, "testqnno": null, "questionid": null, "lpconfigid": 1022, "libtype": 5, "testname": "EM-Test coding", "timeleft": null, "lname": "Mathan U", "learnerid": 12, "mid": 312, "modName": "First", "score_per": 0, "cs_per": 0, "testmode": 2, "questionscount": 1, "repqueno": 1, "topicid": 99, "topicname": "COE CC2", "accessor": "658EMTestcodingCOECC2Q1", "userstatus": 1, "apiattributes": { "learnerid": 12, "lpid": 224, "testqnno": null, "questionid": null, "testid": 658 }, "filterattributes": { "type": "ccq", "hname": "658EM-Test codingCOE CC2Q1", "libtype": 5, "testmode": 2 } }, "658EMTestcodingTotal": { "lname": "Mathan U", "repqueno": 3, "learnerid": 12, "mid": 312, "modName": "First", "targetscore": 20, "duedate": "2024-03-15 15:52:18.000000", "actualscore": 0, "score_per": null, "credibilityscore": 0, "cs_per": 0, "status": 2, "lpconfigid": 1022, "libtype": 5, "testid": 658, "testname": "EM-Test coding", "testmode": 2, "timeleft": null, "userstatus": 1, "accessor": "658EMTestcodingTotal", "apiattributes": { "learnerid": 12, "lpid": 224, "testqnno": null, "questionid": null }, "filterattributes": { "type": "cct", "hname": "658EM-Test codingTotal", "libtype": 5, "testmode": 2 } }, "1779EMAssignment1": { "actualscore": 0, "duedate": "2024-03-15 15:52:23.000000", "status": 1, "testid": 1779, "credibilityscore": 0, "lpconfigid": 1023, "libtype": 4, "testname": "EM-Assignment1", "displaytext": "TBE", "timeleft": null, "lname": "Mathan U", "learnerid": 12, "mid": 312, "modName": "First", "score_per": 0, "cs_per": null, "testmode": 2, "userstatus": 1, "accessor": "1779EMAssignment1", "apiattributes": { "learnerid": 12, "lpid": 224, "testid": 1779 }, "filterattributes": { "type": "assi", "libtype": 4, "hname": "1779EM-Assignment1", "testmode": null } }, "312FirstTestTotal": { "actualscore": 0, "filterattributes": { "type": "moduletotals" } }, "GrandTotal": { "actualscore": 0, "filterattributes": { "type": "grandtotal" } } }, ]