Fix data explorer charts + fix table sorting + add generic createInput function