Hi and welcome.
The rank order of the selections on the screen cannot change dynamically as you describe, however as you have probably seen the selections rank is shown dynamically next to the selections name. In Race Mode there is a visual view of rank, but in all modes the order of selections on the screen is fixed from either the sorting settings in General Options, or the sort button on the main screen.
In triggers you can sort selections by rank order at any time by using the condition:
selections sorting order is defined by rank