reorderList method
Implementation
void reorderList({required int oldIndex, required int newIndex}) {
if (canWrite) {
reorderListTextController(oldIndex: oldIndex, newIndex: newIndex);
}
if (oldIndex < newIndex) newIndex -= 1;
final updatedList = List<ListModel>.from(draggableLists.value);
final item = updatedList.removeAt(oldIndex);
updatedList.insert(newIndex, item);
draggableLists.value = updatedList;
}