fix issue with sorting camel-cased attribute names