added sorting plugin and tooltips