Sort report according to queue no.