Doubly Linked List QuickSort Implementation Problem

I’ve implemented a classic Doubly Linked List: class Node { protected T data; protected Node next, prev; } class DoublyLinkedList> { …

Quick Sort Sorts Descending Not Ascending

I just implemented QuickSort algorithm from book and got weird output. It works but it sorts in descending order instead of ascending. For example: [1, 5, 2, 10, 6, 9, 8, 3, 7, 4] is sorted [10, 9, 8, …