DAG-based sorting algorithm minimizing the number of comparison required to find top N items from a list without absolute value