def test_sort(): "make a table" t = Tab(csv("../data/auto93.csv")) tmp = ordered(t.rows(), t.cols) for col in t.cols.y: print(col.txt, col.mid(), col.sd() * .35) for one in tmp[:5]: print(t.cols.ys(one)) print("") for one in tmp[-5:]: print(t.cols.ys(one))