diff --git a/src/sortablejs.js b/src/sortablejs.js
index <HASH>..<HASH> 100644
--- a/src/sortablejs.js
+++ b/src/sortablejs.js
@@ -91,7 +91,7 @@ function init(Survey) {
       };
       var getChoicesNotInResults = function () {
         var res = [];
-        question.activeChoices.forEach(function (choice) {
+        question.visibleChoices.forEach(function (choice) {
           if (!hasValueInResults(choice.value)) {
             res.push(choice);
           }
@@ -104,7 +104,7 @@ function init(Survey) {
         if (!Array.isArray(val)) return res;
         for (var i = 0; i < val.length; i++) {
           var item = Survey.ItemValue.getItemByValue(
-            question.activeChoices,
+            question.visibleChoices,
             val[i]
           );
           if (!!item) {
Fix #<I> sortableList randomized order not working