TableSorter in Numerical Order instead of Alphabatical Order

I am using the TableSorter from java tutorial. I have a table that contains columns of Integer, Float and String. The TableSorter from Tutorial sorts all columns alphbatically.
Could someone tell me how do I sort columns that contains Integer or Float? I like to have the numerical order not alphabatical order.
Thank you very much!!

You've got three threads going on this topic. Everyone is telling you that the TableSorter class from the Swing table tutorial will do what you want. So, do you get the impression that you are doing something wrong? You've given us no idea what you code looks like so how are we supposed to guess what you are doing?
The more information you provide with the question, the better the chance for a successfull answer. So post your code and maybe people will take the time to look at it.
This [url http://forum.java.sun.com/thread.jsp?forum=57&thread=419688]thread shows how easy it is to create a simple test program to demonstrate a problem/solution. Chances are while you creating this demo, you will find your mistake.

Similar Messages

  • Download Maintenance Orders instead of Production Order in SAP IM-3.2

    Hi All,
    I am trying to fetch Maintenance orders instead of production order in syclo agentry IM-3.2
    In the receipts screen their is a button GetProdOrder which fetches the Production order,instead of fetching the Production Order i want to change it to fetch the Maintenance Orders.
    please suggest me steps for the above change.
    Thanks ,
    Deepak.M
    Tags edited by: Michael Appleby

    Deepak,
    I don't think this will be easily accomplished.  The BAPI is written specifically for production orders.  I believe it would require changes to the BAPI itself, or changing the java to point to a different BAPI.
    Jason Latko - Senior Product Developer at SAP

  • Select query gives result in abc order instead of creation order

    Hi,
    I used the following command in sql command window to insert some rows to my table:
    SQL>
    SQL> insert into regions (Region_ID, Region_Name) values (1 , 'Zafon');
    1 row inserted
    SQL> insert into regions (Region_ID, Region_Name) values (2 , 'Hasharon');
    1 row inserted
    SQL> insert into regions (Region_ID, Region_Name) values (3 , 'Merkaz');
    1 row inserted
    SQL> insert into regions (Region_ID, Region_Name) values (4 , 'Jerusalem');
    1 row inserted
    SQL> insert into regions (Region_ID, Region_Name) values (5 , 'Hashfela');
    1 row inserted
    SQL> insert into regions (Region_ID, Region_Name) values (6 , 'Darom');
    1 row insertedWhen I use select * query to see the table, I get the content in abc order:
    SQL> SELECT * FROM REGIONS;
    REGION_ID REGION_NAME
            6 Darom
            2 Hasharon
            5 Hashfela
            4 Jerusalem
            3 Merkaz
            1 Zafon
    6 rows selectedHow can I get the result in the creation order (first created- first shown)?
    Thanks

    >
    How can I get the result in the creation order (first created- first shown)?
    >
    You can't - not unless you use a solution that you should NEVER use unless absolutely necessary.
    WHY do you need to do this? You never provide a reason.
    To get a result in creation order there are two requirements:
    1. Use an ORDER BY when you query the table - this is the only requirement others have mentioned
    2. Control and specify the creation order when you INSERT the data
    Unfortunately there is only ONE way that I am aware of to implement #2 above (i.e. to control the insertion order) and that is to SERIALIZE the insertion of rows into the table. That means that only ONE user can insert rows into the table at a time perhaps by using a stored procedure to perform the insert.
    In a multi-user system a USER can NOT see uncommitted data of other users. If a user uses a trigger and a SEQUENCE generator to generate ascending numbers another user can use that same trigger and sequence to generate numbers also. If the first user performs an INSERT and gets number 37 but doesn't commit a second user can perform an INSERT, get number 38 and COMMIT before the first user commits.
    That means that the row with 38 was created (committed) first but has a higher sequence than the row with 37.
    The best you can do is use a sequence generator to generate unique ascending numbers. Then you can query the data using an ORDER BY on the column that contains the sequence value. But, as shown above, that doesn't guarantee that the rows were actually committed in that order.
    That may sound like a trivial distinction but it has a very important implication. It means that you can NOT use that sequenced column to extract data reliably for batch-type processing. For the above example supposed your batch process extracted data for values from 1 to 38 and then that first user did a COMMIT.
    The next extract would be for values from 39 to 50 (or some other value) and the row with 37 would never be extracted. For the same reasons you can't use a CREATION_DATE value for such extract purposes either since you would have the same issue.

  • How do you sort photo albums in date order instead of alphabetic order?

    My photo albums used to be date sorted but after selecting Sort albums, they are now in alphabetic order. How do I undo that, please?

    [quote]
    Dear Grumpy
    this is strictly a user to user forum and is specifically NOT a place to contact Apple  - griping at the volenteer users here does no one any good at all
    Have you made the request - iPhoto menu ==> provide iPhoto feedback?
    LN
    [/quote]
    I am sorry that I ran afoul of the user guidelines, I'll remove the rant if I can.  I certainly did not intend my  gripe to target the helpful responder.  And yes, I did provide the feedback to Apple.  I'm just used to such feedback going into a "black hole".  Which this almost certainly does because this problem has existed for years (I Googled for an answer first.)  However, it should be noted that company's tend to respond to feedback that is very public if they want to keep a good name in the business.  The private feedback through the program is like a quiet whisper, only the two parties involved know about it, so there is no real incentive for prompt action.
    DLC

  • How can I arrange addons in the addons manager according to its installation order instead of alphabetical order?

    Just curious.
    I think if that is possible, it would probably be easier to diagnose problematic addons by disable the latest ones until you reach the one that cause problems.
    Is there a function? and if so how do I do it?

    Install this add-on.
    https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/

  • ATP Check at Delivery Level instead of Sales Order

    In Standard SAP, whenever a sales order is created the ATP check is done and a Goods movement 601 is done for it and gets blocked.
    I want that no movement to be carried out at Sales Order Level and should get blocked only at the Delivery level, instead of Sales order.
    Can i do this by not defining any movement type in the schedule line category attached to the Item category of the sales order.

    hi amit,
      u cannot remove MT assignment to SLCAT ,but what you can do is for your checking group and checking rule remove the ATP check relevancy in requirement class defination in spro customising >sd>availibility and TOR.
      so that in VOV4 transaction for your SLCAT atp will be deactivated.
    only while posting material doc at the time of PGI system would check for availibility and block the goods movement.
    reward if helps !!!!!

  • How to display  Columns  in Alphabatical  order when using DESC command

    Hello
    A table column is inserted not in alphabetic order during the table creation definition.
    So while describing the table definition (e.g. desc emp)
    it will not show in the same order as we are written during the table creation.
    Question: is there any utility/command/query which will display the columns in alphabatical order while describing it.
    Regards
    Nikhil Wani

    select column_name from user_tab_columns
    order by column_name;
    should do it.
    Sunil

  • Costs to be recorded to Internal Order instead of Cost Center

    Hi,
    My client has created a new Personnel Area and has started hiring people for it. They did not create a cost center for this. Meanwhile, if any costs are to be recorded for the employees in this Personnel Area, the client wants them record to an Internal Order (instead of Cost Center). Later, when they create a cost center, they may transfer the costs from Internal Order to the Cost Center.
    What needs to be done to satisfy this scenario.
    Best Regards,
    Veera

    hi
    create internal order through kO01, which is of type real order, and post all the expenses by keeping this internal order as cost object. later as you want to settle this internal order to cost centre, you should have settlement profile attached to the internal order to settle that. please update settlement profile while creating the internal order
    krishna

  • My music list is listed in number order instead of in alphabetic order like it's suppose to be. What do I do to get it back to being in alphabetic order?

    My music list is listed in number order instead of in alphabetic order like it's suppose to be. What do I do to get it back to be in alphabetic order?

    You should be importing all pics taken with the iphone to your computer regularly as you would with any digital camera.
    iOS: Importing personal photos and videos from iOS devices to your computer

  • IPod Nano 6th Gen. How do I get it to play songs through my car in album order instead of each song in alphabetical order ?

    Basically I've got a Volkswagen Passat which allows me to play an MP3 player through the radio system. I also own a iPod Nano (6th Generation) which I'm hoping to use in my car. Have just tried it now and it seems to just want to play my songs in alphabetical order instead of each album in order. Is this something I need to change on my iPod or in my car ?

    Hi wisdoms2,
    It sounds like the settings may be set to play the same song over and over.  Check out the chart on page 21 of this user guide and see if that is what is causing the issue:
    iPod nano (6th generation) User Guide
    http://manuals.info.apple.com/en_US/iPod_nano_6thgen_User_Guide.pdf
    Cheers!
    - Ari

  • Is it possible to display artist's albums in chronological order instead of alphabetical?

    Is it possible to display artist's albums in chronological order instead of alphabetical?

    Afternoon rockmyplimsoul, thank you for the info on changing the sorting order - one question though how do you do this on the iPod ?
    Even if your artists are sorted in the library in chronological order by release date, which is cool,  when its transferred to the iPod it still gets sorted in alphabetical order. This is frustrating as I like to listen to one artist's music in order of release date, which I cant because its in alphabetical order.
    Can you assist please.
    Thank you
    PS: Config- Thinkpad W510 i7 8GB, Win 7 Pro 32
                        iTunes 11 latest release
                        22000+ Songs stored in Library in WAV format encoded from original CD's
                        Painstakingly all Album info and Art were added.

  • Is it possible to have podcasts being played in chronological order instead of reversed chronological order in an iPod Classic?

    Is it possible to have podcasts being played in chronological order instead of reversed chronological order in an iPod Classic? It is not an issue, just something that irritates me as I want to be able to listen to them in chronological order.

    Yes, but you need to make a custom playlist to do so. There is no option on the classic to reverse the playback order.
    tt2

  • Dependent reservation created instead of planned order

    Hello Experts,
    After MRP run for some material only dependent reservation created instead of planned order?
    What would be the problem?

    Stocks must be available on date of requirement.

  • Billing Service Contracts per order instead of a billing plan

    Is it possible, with standard config, to disconnect the billing plan from a service contract and bill the service order itself with a fixed labor charge.
    Where the fixed labor charge amount comes from the contract.
    In other words, we want to bill service contract orders by billing a fixed labor charge on the orders instead of billing the fixed amount on a billing plan.
    We need to bill like this to make sure the service is complete prior to billing the contract.  Since the billing plan is independant of the service order being complete, we found that we were billing the billing plan when the service order never completed.  So we're looking for a way to sell a service contract that schedules service orders, but bills the labor as a fixed "contracted" amount on the service order.

    Hi Paul,
    I hope in service contract you have material which has the billing plan.
    Don't enter this material in service contract.Create the other material which helps to create the service order (i.e service order only created with reference to this material.)In service order you create the material for fixed price.
    I hope you know how to control the billing plan.
    Thanks,
    Senthil vadivelan.R

  • ME22N Show Numerator for Conversion of Order Price Unit into Order Unit

    I hide Price in Me22n, when we do this, system hide the "Numerator for Conversion of Order Price Unit into Order Unit",  but i want show this field on screen.
    This field is : in Me22n -> view "Quantites/Weights "->"Order Unit <-> Ord. Price Unit".
    How  do i  for this?

    Hi Paul,
    The field for Denominator for Conv. of Order Price Unit into Order Unit is MEPO1311-BPUMN and for Numerator it is MEPO1311-BPUMZ. Try hiding only the Denominator field using Loop at Screen. <CODE> ENDLOOP and see.
    Hope that it helps. Reward if useful.
    Thanks and Regards,
    Maddineni Bharath.

Maybe you are looking for

  • Any Hope for a G62-340US Fix?

    Next month the warranty expires on my G62-340US. The model is commonly known for its repeated freezes, blue screens, and other problems. I'm not aware of any other recent HP laptop subject to more opprobrium and, in my experience, rightly so. I'm her

  • New iPod wants me to uninstall previous version.  Will I lose my music?

    I lost my 2 G nano, just got a 30 G to replace it. My library on my computer is full of good stuff, subscriptions to podcasts, etc. When I try to install the software from the disk that came with my new unit, it tells me to uninstall the previous ver

  • NvidiaGTX680 Mac Edition with PremiereProCS6 - no GPU acceleration

    Hey i installed NVIDIA GeForce GTX 680 Mac Edition (part nr. 02G-P4-3682-KR) in a MAC PRO 3, 1 (2008 - OX 10.8.5). i work with Premiere Pro CS6 (6.0.5, latest update). the Mercury Playback Engine does not support GPU acceleration. But a Link from NVI

  • How to display an asterisk pyramid inverted

    Quick question for displaying an inverted pyramid made of asterisks' in a label. Here is the code that I have and it is close to working but not quite there. The bottom is a decent example. To put it in words it would be 7 stars on the first row, 5 s

  • Email attachments not forwarding

    When I forward an email with more than one attachment, only one of the attachments are forwarded and also not the body of the email that I am forwarding. Why is that?