Bug or ignorance? : UDTableColumn FilterType Select is unsorted

Dear All

I’v realized that in a UDTableColumn when you specify the FilterType select that it is all unsorted.
Here is an example with Dates however you can try with normal strings as well… Don’t understand how it builds the internal selection list…

My guess is that since we’re gathering Data from AD and putting everything in a UDTable, that the Data in the table is “built” exactly how the data is returned from AD. So if the returned values from AD is sorted by another Column (let’s say “samaccountname”), all other columns will keep that internal “messed up”, unsorted structure.

So the question is: Is that a bug or my ignorance since there’s a parameter or something else that I missed? :relaxed:


Product: PowerShell Universal
Version: 1.5.14

This is a bug. I’ve opened an issue here for this: New-UDTableColumn -FilterType Select is not sorted · Issue #99 · ironmansoftware/issues · GitHub