Never mind. There was an empty entry in the last column that disappears when razed, throwing sort indexes off by one position.
---------- Forwarded message ---------- From: Devon McCormick <[email protected]> Date: Tue, Jan 12, 2016 at 9:41 AM Subject: Unruly sort To: J-programming forum <[email protected]> Here's something I find very puzzling when I attempt something very simple: szs -: ;_1{"1 currSzs NB. Sizes in last column 1 5 {. currSzs \: szs NB. Sort by descending size? +------------------+-----------+ |wexxx |311155428 | +------------------+-----------+ |Wxx |159892096 | +------------------+-----------+ |redxxxxxxxxxxxxxxx|19455691632| +------------------+-----------+ |Thxxxx |0 | +------------------+-----------+ |Thxxxxx |9567777863 | +------------------+-----------+ 5{.\:~szs NB. Sizes sorted descending 102695147815 52576355838 19455691632 9567777863 9025243518 JVERSION Engine: j804/2015-09-19 10:06:31 Library: 8.04.13 Platform: Win 64 Installer: J804 install InstallPath: c:/users/devon_mccormick/j64-804 Any ideas why I might be failing to sort the boxed table by the last column? -- Devon McCormick, CFA Quantitative Consultant -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
