+ added sorting ability for tables
+ added collapse function for summary