Hi,
I'd like the contents of a comboBox (declared w/CBS_SORT in dialog box)
to be sorted based on the data (in my case numeric data), not the
display string.

i.e. {1, 2, 11, 15, 100}, as opposed to {1, 100, 11, 15, 2} as an
example.

I tried following the example in MSDN's CComboBox::CompareItem, but it's
not very intuitive.
One crude alternative is to first collect all the data items in a
vector, use it's sort method (with proper compare function) and then
load in into the Combo Box (w/o CBS_SORT). But, I'd like to avoid this
if there is any simpler alternative.

Any suggestions?
Thanks!

Kris