Make device table sortable