fixed logic of sorting.
tweaking evalue setting.