'Sort a big-ish table with a non-trivial sort order'

def test_single_big(self, table_types):

    x = np.arange(10000)
    y = np.sin(x)
    t = table_types.Table([x, y], names=('x', 'y'))
    t.sort('y')
    idx = np.argsort(y)
    assert np.all((t['x'] == x[idx]))
    assert np.all((t['y'] == y[idx]))
