TColumnComboBox

Hi


Try as I might I can't get a list of items in a TColumnComboBox sorted. 

is there a problem with it or am I missing something really simple? 

I'm trying to sort on column 0 but it's always sorted on column 1, despite what I do.

Here's my code:-

var
  idx : integer;
  i   : TComboItem;

  with ColumnComboBox1 do
  begin
    BeginUpdate;

    try
      Items.Clear;

      Sorted:=True;
      SortColumn:=0;

      for idx:=0 to FHill.Count-1 do
      begin
        i:=ComboItems.Add;
        i.Index:=idx;
        i.Strings.Add(FHill[idx].Name);
        i.Strings.Add(FHill[idx].Section);
        i.Strings.Add(Format('%.0f',[FHill[idx].Height]));
      end;
    finally
      EndUpdate;
    end;
  end;

Bruce.

Please set Sorted = true AFTER you loaded the items.