has_many through obeys order on through association

fixes #10016