added functioanlty to sort answers by categroy, but left it commented it out because it seems useless