Does this function sort ascending or descending?
```
1. function bubbleIt(A, B)
2. {
3. var flag = 0; var temp = 0;
4. while (flag == 0)
5. {
6. flag = 1;
7. for (var count = 0; count <= (A – 2); count++)
8. {
9. if(myArray[count] < myArray[count + 1])
10. {
11. temp = myArray[count];
12. myArray[count] = myArray[count + 1];
13. myArray[count + 1} = temp;
14. flag = 0;
15. }
16. }
17. }
18. }
```
a. ascending
b. descending
b. descending
You might also like to view...
The statement “Stack
Fill in the blank(s) with the appropriate word(s).
What appears when you point to a table name of a linked table?
A) ScreenTip B) Splitter C) Table Analyzer D) Wizard
Which button is NOT located in the Find and Replace dialog box?
A) Find All B) Replace Next C) Find Next D) Replace All
Internet Explorer defaults to which protocol prefix for the communication rules used by the computer to connect to servers on the Web?
A) rss B) http C) jpeg D) tiff