Ben - yeah - i see the problem - think i know what it is and will check it out tonight.
But just a comment though ... even though one can keep toggling the SORTED property on and off (except for this bug you have identified) - its really wasn't designed for that purpose. One should only have to set the sorted property once - when the control is first created. Like you might try here:
code:
$lstGroups1 = $fraDetails.ListBox
$lstGroups1.HEIGHT = 134
$lstGroups1.LEFT = $USR_LBLLEFT
$lstGroups1.TOP = $lblGroups1.TOP + 20
$lstGroups1.WIDTH = 220
$lstGroups1.Enabled = 0
$lstGroups1.Sorted = 1 ; <---
then just CLEAR and re-populate the list as required. It will always remain sorted as long as this property is set. The didn't really design the sort property to be a sort method ... just thought it would be usefull that if one "converted" an already populated listbox to sorted ... that it would automatically sort the items contained within it. But once that initial sort is done - no need to reset the property after that ... one can start a fresh list by using the CLEAR method (which you have already done) then carryon ...