Hello,
I'm trying to sort a B4XTable by a column with numbers.
I have define this column which name is "amount' like this:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I try to sort the table on this column descending like this:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
But the ordering result is like if the numbers were strings !!!
How to solve this ?
Thanks to the helpers who come here.
			
			I'm trying to sort a B4XTable by a column with numbers.
I have define this column which name is "amount' like this:
			
				column type:
			
		
		
		B4XTable1.COLUMN_TYPE_NUMBERSI try to sort the table on this column descending like this:
			
				code for sorting:
			
		
		
		Dim coln As B4XTableColumn = B4XTable1.GetColumn("amount")
coln.InternalSortMode= "DESC"
B4XTable1.RefreshBut the ordering result is like if the numbers were strings !!!
How to solve this ?
Thanks to the helpers who come here.
 
				 
 
		 
 
		 
 
		 
 
		