Bug fix for sorting and lead detection