{"ScriptPreparationCode":"function shuffle(array) {\r\n var i = array.length,\r\n j = 0,\r\n temp;\r\n while (i--) {\r\n j = Math.floor(Math.random() * (i \u002B 1));\r\n temp = array[i];\r\n array[i] = array[j];\r\n array[j] = temp;\r\n }\r\n return array;\r\n}\r\nvar words = [\r\n \u0022wh@}U;8(9%hID#E;y*FQ*\\Gf=DQ]C\u0022,\r\n \u0022w]=R4nO[Pqc,;c8GFgAu[m^$l.V\u0022,\r\n \u0022kbxmGZUcij0_DJ,;PZ~=#vPJA*hHG\u0022,\r\n \u0022:D2dqJ-h/F;vh?!=}4]pKk\u003CQz0L=z\u0022,\r\n \u0022oB\u003E.3IL2TFhMqUOp!MzVSoG0!4uw\u0022,\r\n \u0022@Je$BH@ox,Wc])~.Ed]AS}Ox\u0026AgiY\u0022,\r\n \u0022rH@;R:}.ZaB0aKB\\QR7\\h\\^8y$\u0022,\r\n \u0022LtO\u002BCzRVp\\Mp;vm87f3)P\u002B|MxNKh\u0022,\r\n \u0022(a0?*16Wa1bt9{9g\u003EM8~^Y)ZkLO19\u0022,\r\n \u00222n.[?5JghKW$}jh=;b6DbWiSe6l4;\u0022,\r\n \u00224NpZ-4uIA^!VmN\u002B\\t0wh95DG=VC0\u0022,\r\n \u00224#DiMlrOjL#cxGU!rWr\u003CVM8iRYR70D\u0022,\r\n \u00225|O6Vq\u002B%aE]rsVUYEuGceyoaD$v\u0026#\u0022,\r\n \u0022#\\ISPh1ra\u0026\u0026\u003E9/NKlr3.Ez\u003CP^I4pY\u0022,\r\n \u0022M!Ery#SkPM5^A/J|VcI6WL\\\u003E\u0026i=K\u0022,\r\n \u0022nBx5kFrOB7^Lo)1Bd5\u003E4H5T2t(\u0022,\r\n \u0022A{q\u002BL|LKxb-mQte-C\\gjne4dC?#O_\u0022,\r\n \u0022I):fgN?r?p\u0026g6j7-j,,WOX?G\u002B0#w~b\u0022,\r\n \u0022c3w3%/q#drU!^;EP2AP.0@;8o.AV}\u0022,\r\n \u0022EMP)(T;DUUdt|(7|50KWafo};-IW\u0022,\r\n \u0022q]\\\\N}Mzq{GbZQH!6t^J%-ZX1a2*dd\u0022,\r\n \u0022a|u.t3nq@rk\\|M\u002BI,Z5i_7\\%VH-kU\u0022,\r\n \u0022Yzn\u0026}SET6ocLsQj5P/L_M!WPbc~)-\u0022,\r\n \u0022p\u0026)]$l2S\u0026/Nlfv(D|\\dRUT(Zu/9#:\u0022,\r\n \u0022VOIb^R;vw;rMYG84n7.\u0026kcj\u002BoBUJ.]\u0022,\r\n \u0022I^:@O0un-IPTb*xcd##o\\cYusqi^#;\u0022,\r\n \u0022FT\u003CwoNY|hK|#{Xafm5v\\=OX9yv|%aC\u0022,\r\n \u0022-5l)]\u0026z~bR2zjSGPBJaJ9xR=TC\u00265mE\u0022,\r\n \u0022=.Eq1W\u003E{0~Mbm/oJlZOr@bPS2T\u0026KO\u0022,\r\n \u0022q\u003EBN^_SvJd\u003E\u002Bb:]4s6i3)^GsaD{\u003Cs\u0022\r\n];\r\nvar words1 = [];\r\nvar n = [];\r\nfor (i = 0; i \u003C 4; i\u002B\u002B) words.push(...words);\r\nfor (i = 0; i \u003C words.length; i\u002B\u002B) n.push(i);\r\nvar ranNums = shuffle(n);\r\nfor (i = 0; i \u003C words.length; i\u002B\u002B) words1.push(words[ranNums[i]]);\r\nconsole.log(\u0027ORIGINAL\u0027, words1);","TestCases":[{"Name":"localeCompare","Code":"words1.sort((a,b) =\u003E a.localeCompare(b));","IsDeferred":false},{"Name":"lodash order","Code":"_.orderBy(words1,model =\u003E model,\u0027asc\u0027);","IsDeferred":false},{"Name":"sort comparator","Code":"words1.sort((a,b) =\u003E {\r\n if (a.toLowerCase() \u003C b.toLowerCase()) {\r\n return -1;\r\n }\r\n if (a.toLowerCase() \u003E b.toLowerCase()) {\r\n return 1;\r\n }\r\n return 0;\r\n});","IsDeferred":false}]}