A little changes in function sortable_data