Fixing typo where reorganizePage() wasn't a member function in the cc file. Adding some helper functions for comparasion operators