I posted this in the github site too but haven't gotten any responses yet so figured this is more code related than version related I could ask here. I am having trouble sorting these grids (sorting seemed to be extremely buggy in the previous version as well). I added staff members and when I go to the staff page in the admin section and try to sort by name it only sorted once so rather than A-Z it would reverse it to Z-A. I have modified the code to where it now will sort a second time back to A-Z. However, it breaks there and won't sort again. Here's what I have noticed. Find these lines in the code (code is enclosed in brackets so remove those of course):Source Page = upload\include\staff\staffmembers.inc.phpHere's what I did:Now here are the results:On initial navigation to the page: Before = &sort=&order= After = &sort=&order=DESCqstr &sort=&order=DESCYou can already tell the string is being built incorrectly but the problem only gets worse. When you sort the column by name this is what you get from the print statements:Before = &sort=name&order=DESC After = &sort=name&order=DESCDESCqstr &sort=name&order=DESCDESCThe next time you sort by name it adds on to that:Before = &sort=name&order=DESCDESC After = &sort=name&order=DESCDESCDESCqstr &sort=name&order=DESCDESCDESCAnd each time you sort it adds DESC one more time, plus there is the duplicate &sort, &name and &order.How do I correct this in the code? I'm still new to php. I'm assuming it's in the HTTP: code but coming from ASP where I have a dubbuger (and I can't seem to get eclipse to debug the class files even though I have gotten it to debug other files) I'm having trouble eliminating the problem.