fixes ZEN-14738: Additional condition for the component sort key if the key is a list.
Merge pull request #556 from zenoss/ZEN-14738

fixes ZEN-14738: Additional condition for the component sort key if the ...