Anonymous user
Sort a list of object identifiers: Difference between revisions
m
→Using Piece$() and Stack Sort
(Add Swift) |
|||
Line 753:
data "1.3.6.1.4.1.11.2.17.19.3.4.0.1"
data "1.3.6.1.4.1.11150.3.4.0"
While
For i=1 to
\\ if peek item i > peek item i+1 then get i+1 to top, and send to i
\\ stack is a linked list, so moving items done with pointers only
if Gt(stackitem$(i), stackitem$(i+1)) then Shift i+1 : ShiftBack i :
}
}
While not empty {
|