Zhengrong Zang Wrote:Well, I thought 1 is sort coulmn1, 2 sort 2, 3 sort quantity and so on....
LDView lets you arrange the columns in any order you like (something which made writing the script trickier!) so I just used the column order I have in place here.
The opening message box should show you which code to use for which column (image attached).