Added sorting to cities and offices index