Paul, I am using Visual Studio 2017 and cannot get this code to work. Is there somewhere I can learn about using the system.enum.getnames with orderby?