.net - Array.sort() is not working correctly -


Suppose that the values ​​in the array are:
  dim arrnum () as integer = nothing << html> 

arrnum values ​​(3, 8, 6, 15, 2, 10)

  Sort (Arrnum)   

Values ​​are sorted out (10,15,2,3,6,5)

Actually, I'm going to value a sorted way is required.

Can you help me?

I think you have some mistake to define the array, see the code below, this work Done

  dim arrnum () as integer = nothing [3, 8, 6, 15, 2, 10] array. Sir (arrnum)    

Comments

Popular posts from this blog

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -