maintain diag order during sort when diags are on the same line,col
visit literal array elements in model builder