Cleaned up recursive ordering methods, still working on testing methods