Cleaned up renderer copyright text, refactored sorting code to be a bit more efficient