See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Sort list of numbers

  1. #1
    Active Member
    Join Date
    2005-02
    Posts
    95
    Login to Give a bone
    0

    Thumbs down Sort list of numbers

    I have a nos of parameters in list mode like (1 10 11 12 112.1 112.2 113 115 15 16 17 18 19 20 23 45 2 23 32 4 120 140 )

    I want to sort it by alphabetical wise like....


    (1 2 4 10 11 12 15 16 17 18 19 20 23 32 45 112.1 112.2 113 115 120 140)

    and

    (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ........ 10000000)

    I am using (vl-sort a '<) function in autoLISP

    Can anybody give me a real command


    pixlepark96@sancharnet.in

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    8,449
    Login to Give a bone
    0

    Default Re: Sort list of numbers

    Are you looking for code in VBA? The code snippet you provided is for Visual Lisp. Let me know which you prefer.

    Richard
    Forum Moderator
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Active Member
    Join Date
    2005-02
    Posts
    95
    Login to Give a bone
    0

    Default Re: Sort list of numbers

    Thanx for Care,


    I need VBA code.

    I have a urgent work. Pls. do needfull as early as possible


    pixlepark96@sancharnet.in

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    8,449
    Login to Give a bone
    1

    Default Re: Sort list of numbers

    Quote Originally Posted by avinash00002002
    Thanx for Care,


    I need VBA code.

    I have a urgent work. Pls. do needfull as early as possible


    pixlepark96@sancharnet.in
    I feel that the sorting routine that Ed Jobe provided in this thread could be modified, if needed, to do what you are looking for.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. Sort Filter List
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 0
    Last Post: 2014-08-28, 01:52 PM
  2. help me to vl-sort this list
    By Serhan_BAKIR in forum AutoLISP
    Replies: 15
    Last Post: 2013-06-14, 01:25 PM
  3. sort list with extra
    By parkerfeldman in forum AutoLISP
    Replies: 2
    Last Post: 2009-03-13, 06:04 PM
  4. sort list
    By parkerfeldman in forum AutoLISP
    Replies: 1
    Last Post: 2009-02-20, 10:19 PM
  5. Auto Sort Parts List
    By inventor.wishlist1738 in forum Inventor Wish List
    Replies: 0
    Last Post: 2007-06-01, 01:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •