updated responsive table with sorting