I've implemented a tree which displays "folders", with a compareFunction that makes sure the folders are always sorted alphabetically. It works fine - if a user moves a folder it automatically shows up in the correct order.
I do have a problem with renaming though. This worked before I implemented the compareFunction, but now it totally messes up (since it tries to sort a folder while renaming it) .. so I was wondering if there is a way to disable sorting while editing. -- ======================== http://www.juicability.com - flex blog http://www.43min.com - funny movies