When adding session hosts to a pool you declare a prefix and the template will append an incrementing number to the end. but this number is not a consistent length due to the lack of leading zeros. and in large host pool, this causes the hosts to not sort properly 
| Current | Example of Bad Sort | Desired | 
| Test-VM-1 | Test-VM-1 | Test-VM-001 | 
| Test-VM-2 | Test-VM-10 | Test-VM-002 | 
| Test-VM-3 | Test-VM-11 | Test-VM-003 | 
| Test-VM-4 | Test-VM-12 | Test-VM-004 | 
| Test-VM-5 | Test-VM-2 | Test-VM-005 | 
| Test-VM-6 | Test-VM-3 | Test-VM-006 | 
| Test-VM-7 | Test-VM-4 | Test-VM-007 | 
| Test-VM-8 | Test-VM-5 | Test-VM-008 | 
| Test-VM-9 | Test-VM-6 | Test-VM-009 | 
| Test-VM-10 | Test-VM-7 | Test-VM-010 | 
| Test-VM-11 | Test-VM-8 | Test-VM-011 | 
| Test-VM-12 | Test-VM-9 | Test-VM-012 | 
3 Comments
- rocotoMicrosoft This is a good idea that I would like to see in AVD. 
- TaniaMariscalMicrosoft Status changed:NewtoClosed
- nbird22Iron ContributorI agree, this is annoying. I have to use this really useful Sort-STNumerical PowerShell function to get the desired effect. 
 https://www.powershelladmin.com/wiki/Sort_strings_with_numbers_more_humanely_in_PowerShell