Method and apparatus for sorting mail