Michael Heerdegen writes: > Like this, maybe? Here is an update. I improved the documentation and optimized the code to avoid repeated calls of the KEY function on the same element. There are now more cases, but the code should be more efficient. If this is accepted, I will care about the update of the manual.