added an option to specify a sortable axis

axis accepts ‘x’, ‘y’, or [‘x’, ‘y’]