Remove Sort header
Experimentally use std::deque instead of LinkedList