Sorting Types

Blitz3D Forums/Blitz3D Programming/Sorting Types

blitz actually has funcs to do list 'editing', so you can literally just move them without having to copy contents etc.

repeat
   redo=false
   for play.player each player
       start.player =after play
       if start=null exit
       repeat
            if start\value<play\value
                  insert start before play ;Will re-arrenge the internal blitz list.
                  reDo=true
             endif
           start=after start
       until start =null
   next
until redo=false


is a little bubble sort way..not tested, just giving you the gist.