    # File lib/active_record/connection_adapters/oracle_adapter.rb, line 479
            def add_order_by_for_association_limiting!(sql, options)
              return sql if options[:order].blank?

              order = options[:order].split(',').collect { |s| s.strip }.reject(&:blank?)
              order.map! {|s| $1 if s =~ / (.*)/}
              order = order.zip((0...order.size).to_a).map { |s,i| "alias_#{i}__ #{s}" }.join(', ')

              sql << "ORDER BY #{order}"
            end