Sort modules in active_record.rb

I arranged some modules in active_record.rb .
This is very small fix.