guys any one have implementation of bubble sort in netlogo : guys any one have implementation of  bubble sort in netlogo help because i want to sort turtles by their strength and i have not much knowledge about that language




turtles-own[strength]



to setup
  ca
  create-turtles num-turtle [set strength random 100
   fd 5
   set size 2
    set label strength
      
  
  ]
  ask turtles [show sort [strength] of turtles ]

end

to bubblesort
  
  set liste [strength] of turtles
  if (turtle 0 [strength]) >= (turtle 1 [strength] ) ) [set size 5 ]
 
 
  

end
