Add action "numeric-two-dimensional-sort-into-columns-and-rows", and clean up variable declarations