Browser a select drop-down list and check data sort


I would like to check the elements in a drop-down and verify that the element are displayed correctly.
My drop-down list contains years and the data should be sorted by descending values: 2021, 2020, 2019, …
Could you help for doing that because I don’t know exactly which command and target I have to use.
I can retrieve all elements:

Command: storeSelectOptions
Target: xPath=/html/body/app-root/ux-layout-app-shell/div/div/div/financing-decision-home/ux-panel/div[2]/div/div[2]/div/div/div[1]/ux-form-group/div/div/div/div/ux-form-control/select
Value: YearsValues

The response:
[info] Store ‘2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007’ into ‘YearsValues’

How can I do check value after value that the sort is correct ?

Try using

assertEval | ${YearsValues} | 2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007 |