finish the sorted list base priority queue implementation....