You can see how to set the different Column Properties by setting them interactively, and then using
<< get Property()
retrieve what is required to use
<< set Property()
to use JSL to assign the values
So I set the order for the lot_id column interactively
I then ran this script to get the structure required for the Value Ordering column property
names default to here(1);
dt=current data table();
orderList = dt:lot_id << get property("Value Order");
show(orderList);
it returned
orderList = {Custom Order({"lot09", "lot08", "lot07", "lot06", "lot05", "lot04", "lot03", "lot02", "lot01", "lot10", "lot11", "lot12", "lot13"}), Common Order(0)};
Therefore, the JSL required to set the Value Order property is
dt:lot_id << set property("Value Order", {Custom Order({"lot09", "lot08", "lot07",
"lot06", "lot05", "lot04", "lot03", "lot02",
"lot01", "lot10", "lot11", "lot12", "lot13"}), Common Order(0)});
Jim