Hi Govinda.
I created a sample with the StrataframeSample database and was able to reproduce your issue.
Did you notice that for the codes that start with numbers, the sorter is only taking into cosideration the second part of your product code, the number after the dash (-) ?
So, noticing that, I came up with a quick and dirty solution that could get you going tomorrow morning.
On the BrowseDialogLayout, set your Column Population Type to PopulatedThroughEvent. Then, use the BD RowPopulating event to define your code as follows:
Private Sub BrowseDialog1_RowPopulating(e As MicroFour.StrataFrame.UI.Windows.Forms.RowPopulatingEventArgs) Handles BrowseDialog1.RowPopulating
With CType(e.BusinessObject, Products)
'-- set Product Code
e.Values(0).DisplayValue = "(" & .prod_SKU & ")"
End With
End Sub
That is it, put "(" and ")" around them all. This way, the sorte won't get confused and will sort them all as strings.
Hope it helps.