fix sort for address search