Question: I am searching for a way to make my table sortable by clicking on the column names but I cannot figure it out. I tried different ways that I found on the internet like installing angular2-datable (npm install angular-data-table) and do an import {DataTableDirectives} from 'angular2-datatable/datatable'; installing easytable (npm install ng2-easy-table) but it didn't work for me. I am also looking for a datepicker that works on all the browsers but couldn't find anyone.

Do you guys have any suggestions? I am working with Typescript and Angular2.

Please help!!

Answer: 
The best way to use prime ng grid .That makes Better Ui

<http://www.primefaces.org/primeng/#/>
I am also unable to install angular-datatable because of permission denied while accessing **.config** directory.
You can add using the following command:
**sudo chown -R : /path/to/home/directory/.config**

This will transfer ownership to **user\_name** .Let me know,if you find other error.