fixed typo in web-ui

exponent p was missing to order weights