Sort the result set according to RFC2782