add test for sortable method