Allow passing an array for orderings