Simon wrote: > Obviously I could get the current values, delete the items, and reinsert the > values at the right indices, but this seems like a bit of a painful > procedure. The *must* be a more elegant way of doing than that. how about "get the current value of one item, delete it, and reinsert it at the right index". item = list.get(index) list.delete(index) list.insert(index+1, item) Cheers /F
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4