sketching out sortable logic