You can remove the last line, since the Unique Patient Number does not have relevance for ordering in the ART register.