Fixed sort by location dialogue so that it updates the location radio button's location immediately.