changed partial sort container