How to break this string and sort on version number

Posted by Sean P on Stack Overflow See other posts from Stack Overflow or by Sean P
Published on 2010-05-13T23:36:31Z Indexed on 2010/05/13 23:44 UTC
Read the original article Hit count: 352

Filed under:
|
|
|

I have an ASP app that has a string array as such (there are much more than this):

    7.5.0.17 Date: 05_03_10
    7.5.0.18 Date: 05_03_10
    7.5.0.19 Date: 05_04_10
    7.5.0.2 Date: 02_19_10
    7.5.0.20 Date: 05_06_10
    7.5.0.3 Date: 02_26_10
    7.5.0.4 Date: 03_02_10
    7.5.0.5 Date: 03_08_10
    7.5.0.6 Date: 03_12_10
    7.5.0.7 Date: 03_19_10
    7.5.0.8 Date: 03_25_10
    7.5.0.9 Date: 03_26_10
    7.5.1.0 Date: 05_06_10

How do I go about sorting these string by version descending?

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about ASP.NET