Here It is and SOLVED: Please have a look at the List_4.html example attached to the mail.
The trick is to NOT sort the children array. A new array is built upon the sort criteria (eg. the label or the value of the item) which holds a reference to the child item.
Then this new array is sorted and after that the items are re-added in the new order by callint the addAtEnd method of the QxList.
I created three new methods for QxList: 1) internal _sortItemsCompare method for sorting comparison 2) sortItemsByString() which sorts asc/desc by the getLabel() value 3) sortItemsByValue() which sorts asc/desc by the getValue() value Should I put the new methods into QxList and create a patch for QxList? -- Mit freundlichen Grüßen Dietrich Streifert Visionet GmbHTitle: qooxdoo demo dev
QxList Item Sorting demo
