Removed the require_unique option from check_sorted since it was never used. Also cleaned up some annoying style where someone had changed my code to look the way they wanted.
Removed the empty destructor, and put a static non-member variable only used in one function into that function.