A council has vowed to ensure social housing is allocated fairly to people in greatest need across County Durham.