Not every building will have a different sort code. Some are counted as sub-branches, and have the same sort code as the closest one. For example, if I put money in the branch at my uni, it actually comes up on my statement as a branch at Juniper Green.