Fixed bugs.
Added table sorter