You can write either LS or @function code that will accomplish that. But we would need a lot more info- is the list in a LS view?