ä" …MŠ ANY ARRAY TYPE MAY BE USEDK…MŠ IF YOU WANT SA(500) TO BE A STRING ARRAY, USE DEFSTR S ON THIS LINEQ…MŠ IF STRINGS ARE USED, SET THE LENGTH OF SA(500) WITH DEFLEN=30 OR WHATEVERB(…M€ SA(500),L(30),R(30):Š L AND R ARE USED IN QUICK SORT ONLYA2…MNI = 500:Š CHANGE DIM 500 AND THIS 500 IF ARRAY SORT LARGER<‹M€ X = 0 Š NI:F‘M SA(X)=† (1000):Š STORES RANDOM NUMBERS FOR SORTINGJP¢M Š :SA(X)=STRING$(RND(20),RND(60)+32) ONLY IF SA() IS A STRING ARRAYZ¢M€d¯M€1 "START TIME: ";ˆ 'nÁM€ "QUICK SORT" :Š OR SHELL SORTxÁM€1 "FINISH TIME: ";ˆ ‚ÓM€ X=NI-10 Š NIBŒÜM €1 SA(X):Š PRINT LAST 10 ELEMENTS TO MAKE SURE SORT WORKED–ìM€ ùM€ÿÿ