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
initialize a instant variable in `build` with is used in `paginated_collection` is dirty.
Why not use `view_context.send(:collection)` in `paginated_collection` or write a `collection` method