I guess an easy solution could be to inherit QStandardItemModel (which QComboBox internally uses) and implement the sorting functionality..