public int CompareTo(RequestDetail other) { return(((DateTime)requestDAO.GetRequest(this.RequestCode).DateApproved).CompareTo(requestDAO.GetRequest(other.RequestCode).DateApproved)); }