5> store the derived measurement results as indicated by reportQuantitiesEUTRA within the measReportIdleEUTRA in VarMeasIdleReport in decreasing order of the sorting quantity, i.e. the best cell is included first, as follows:
6> if qualityThresholdEUTRA is configured:
7> include the measurement results from the cells applicable for idle/inactive measurement reporting whose RSRP/RSRQ measurement results are above the value(s) provided in qualityThresholdEUTRA;
6> else:
7> include the measurement results from all cells applicable for idle/inactive measurement reporting;
2> if the VarMeasIdleConfig includes the measIdleCarrierListNR and the SIB1 contains idleModeMeasurementsNR:
3> for each entry in measIdleCarrierListNR within VarMeasIdleConfig that contains ssb-MeasConfig:
4> if UE supports carrier aggregation or NR-DC between serving carrier and the carrier frequency and subcarrier spacing indicated by carrierFreq and ssbSubCarrierSpacing within the corresponding entry:
5> perform measurements in the carrier frequency and subcarrier spacing indicated by carrierFreq and ssbSubCarrierSpacing within the corresponding entry;
5> if the reportQuantities is set to rsrq:
6> consider RSRQ as the cell sorting quantity;
5> else:
6> consider RSRP as the cell sorting quantity;
5> if the measCellListNR is included: