added jqplot and column sorting