sortEntityCollection only sorts within a single activity, so this function should not be affected by that.