Make the ordering of offices more like php