Get the correct DB column name on filter/ sort by property

#340
Same as above:

```php
$this->assertEqual(count($result), $user1->uid, 'List filtered by the "author" entity metadata wrapper property, which maps to the "uid" DB column name.');
```