Adds javascript character table sorting