List<bool> word = [true,false,false,true];

// word.shuffle(); // word.remove(0); // word.removeWhere((e) => e == 0);

word.sort((a, b) { if(b) { return 1; } return -1; });

print [true, true, false, false]

flutter: patchUserExam patchUserExam patchUserExam id 5491 flutter: patchUserExam patchUserExam patchUserExam answers 134,33,12,46,908,758,911,401,40,661,503,307,648,542,34,302,489,41,299,47,30,50,48,561,30 flutter: patchUserExam patchUserExam patchUserExam elapses 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5 flutter: patchUserExam patchUserExam patchUserExam idks 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0