I'm not sure if you can affect how the sorting is done without using Column Properties. You could create "support" column which you can then sort by to get the order you want or you could maybe use Query Builder
jthi_0-1672835370051.png
jthi_1-1672835380694.png
or use Value Order Column Property
jthi_2-1672835566550.png
Some differences here when using functions for sorting:
Names Default To Here(1);
dt = New Table("Untitled",
Add Rows(3),
New Column("Column 1",
Character,
"Nominal",
Set Values({"G95VXWW8CID5", "G921J8D2CIE3", "G943H085CIB2"})
)
);
a = dt[0, 1];
show(a);
b = Associative Array(Column(dt, 1));
Show(Sort List(a));
Show(b << get keys);
Show(Ranking(a));
dt << Sort(By(:Column 1), Replace Table, Order(Ascending));
Show(dt[0, 1]);
Write();
a = {"G95VXWW8CID5", "G921J8D2CIE3", "G943H085CIB2"};
Sort List(a) = {"G921J8D2CIE3", "G943H085CIB2", "G95VXWW8CID5"};
b << get keys = {"G921J8D2CIE3", "G943H085CIB2", "G95VXWW8CID5"};
Ranking(a) = [3, 1, 2];
dt[0,1] = {"G95VXWW8CID5", "G921J8D2CIE3", "G943H085CIB2"};
JMP table sort seems to be using Natural Sort Order (wikipedia) like @Victor_G mentioned and not alphabetical sorting
-Jarmo