Sorting algorithms/Bubble sort: Difference between revisions
Content deleted Content added
Line 3,559: | Line 3,559: | ||
=={{header|TorqueScript}}== |
=={{header|TorqueScript}}== |
||
<lang TorqueScript> |
<lang TorqueScript>//Note that we're assuming that the list of numbers is separated by tabs. |
||
function bubbleSort(%list) |
|||
{ |
{ |
||
%ct = getFieldCount(%list); |
%ct = getFieldCount(%list); |