Sort attributes using case insensitive + case sensitive sorting.

Sorting is done alphabetically with lower case letters following
upper case letters. For instance the following sequence is sorted:
AA, aA, BB, Bb, C

Change-Id: I2330d952366509c206166c0003f606a0f2674263
Merge topic 'sorting-15130' into next

a06fc0fd Sort attributes using case insensitive + case sensitive sorting.