Added test for sorting on a field name