Add support for order by autoid in the select method.