Adding sinon for spies. Tests are actually verifying sort orders now.