[ANALYZER-2413] - fixing potential error while sorting a member list that contains a null member