Added ability to suport array on order of associations