bugfix: enable ResultSet.order spec to be unicode

Previous conition checked `isinstance(spec, str)` now checks
`isinstance(spec, basestring)`