Sort dropdown on /sensors/electricity using javascript.