Why is the event list order not updated within vTaskPrioritySet()

Inside vTaskPrioritySet(), why does changing the value of the event list node not update the order of the task in the event list.

Only update event list values, for example:

if( ( listGET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) == 0UL )
                {
                    listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) uxNewPriority ) ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */
                }

However, the position of the task in the event list is not updated.

Please help me out. Thank you very much.

That was just a decision taken when it was written. The behavior could be changed easily enough, with a small time penalty.

Thank you for your answer.

I have one more question to ask about this function.
Why not update the pxTCB->uxPriority value when the newly set task priority is higher than the inherited priority.

#if ( configUSE_MUTEXES == 1 )
            {
                /* Only change the priority being used if the task is not
                 * currently using an inherited priority. */
                if( pxTCB->uxBasePriority == pxTCB->uxPriority )
                {
                    pxTCB->uxPriority = uxNewPriority;
                }
                else
                {
                    mtCOVERAGE_TEST_MARKER();
                }
                /* The base priority gets set whatever. */
                pxTCB->uxBasePriority = uxNewPriority;
            }
        #else /* if ( configUSE_MUTEXES == 1 ) */
            {
                pxTCB->uxPriority = uxNewPriority;
            }
        #endif /* if ( configUSE_MUTEXES == 1 ) */