Hi Fabian,I have done that but in VFP. What I did was to convert or cast the field to integer so it will sort the way I needed to. I think you may do something like that to get the proper sorting by casting the field, but keep in mind that when you cast values like ABC will have no meaning, only the digits will be casted.