a fast way to order a type ASC (number)

Blitz3D Forums/Blitz3D Programming/a fast way to order a type ASC (number)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

H!

;i'm searching for a fast way to order a type
;order low ... high
;output: 4 5 7

Type monkey
	Field n%
End Type

bla.monkey 	= New Monkey
	bla\n%	= 5

bla.monkey 	= New Monkey
	bla\n%	= 7
	
bla.monkey 	= New Monkey
	bla\n%	= 4

For bla.monkey = Each Monkey
temp% = bla\n%


	For bla.monkey = Each Monkey
		If temp% ....?

		EndIf
	Next
Next
	
WaitKey