added ability to paginate and use sort order in CSV

This adds the ability to use the sort order in the CSV output. Resolves issue https://github.com/activeadmin/activeadmin/issues/3269
ok, I didn't have seen that. But that move `@collection = ...` into the first line of `build`