Order view output alphabetically

We are creating views which have dependencies on other views and we are not getting consistent behavior across machines when doing `rake db:migrate` which produces the `development_structure.sql` file used by the `db:test:prepare` Rake task.

This change includes added the explicit `order by view_name` so that the views are exported alphabetically. This still means that dependent views need to be alphabetically after their dependencies, but we're happy with this for the mean time.

Thanks

Nigel and Robbie