BUG: Use case sensitive comparisons for sorting arrays.

Not sure why this code using case insenstive comparisons. Making it use
case sensitive comparision for array names.

Change-Id: I246bfa6fd25fd8ae7260fec1cf5b7b10695157da
Merge topic 'fix_sorting' into next

abb281df BUG: Use case sensitive comparisons for sorting arrays.