sort addresses