List might not represent the accurate order of options due to the availability of pagination

Hi everyone,

I am creating an option set which has options from 1 to 87, but when I reach fifty (50), the order changes.
What can I do to maintain the ascending order: 1,2,3,4,5,6 …?


1 Like

There are probably many ways to sort this out but the first one I found directly from the UI is to use “Sort Manually” then reorder based on the correct order.

Another option is to use alphabets in the code to sort the list. See screenshot:

Hi @Gassim,

The manual sort is working only up to 50 optionvalues, but I would like the option value to display as : 1, 2, 3…up to 87.


Thanks @fernandoshake for reporting this. I’m checking with @dhis2-platform if that’s how it’s supposed to work.

As for now how about using the alphabets as suggested below? Thanks!