Prefix order column with table name to avoid ambiguity

This commit prefixes the order column with the table name to avoid ambiguous column errors in the Rails 4 beta. For example "ORDER BY id" becomes "ORDER BY users.id"