Question on Sorting of files in custom manner.

Hi,
I need to sort the files but sorting is done in custom manner. Based on the words present in the file I need to sort it. For e.g., if the file name containing allocated and System it needs to be sorted at first position. Qos and Interface needs to be sorted in second position, and lsp and dynamic on third position.
Suppose these are the files sorted in ascending order.
Allocated
Dynamic
Interface
Lsp
Qos
SystemI need to sort in this way,
Allocated
System
Qos
Interface
Lsp
DynamicIs there any good way to do this?
Thanks in advance.

Look for examples on how to use a Comparator. This one seems pretty decent for example:
http://www.javadeveloper.co.in/java-example/java-comparator-example.html

Similar Messages

  • Question about sorting files in media library

    Hey,
    I'm Sam Hoste from Belgium and I have a question about sorting music files in my media library in iTunes.
    My music collection mainly exists of complete albums instead of individual songs. The problem is that I can not play the songs of an album in the same order as on the tracklist of the album in the media library of iTunes.
    I also take very good care of the ID3 tags from my mp3-files, but that doesn't help.
    For example, if I had an album with the following tracklist,
    01. Artist - Song 1
    02. Artist - Song 2
    03. Artist - Song 3
    04. Artist ft Otherartist - Song 4
    05. Artist ft Otherartist - Song 5
    06. Artist - Song 6
    07. Artist - Song 7,
    every music file would have an ID3 tag for tracknumber (1, 2, 3, ...), an ID3 tag for artist ("Artist" or "Artist ft Otherartist"), an ID3 tag for title (Song 1, ...) and an ID3 tag for album ("Albumname").
    When I load this album in my media library in iTunes, I cannot get them sorted by album and by tracknumber on that album. When I sort by artist I get this list:
    01. Artist - Song 1
    02. Artist - Song 2
    03. Artist - Song 3
    06. Artist - Song 6
    07. Artist - Song 7
    04. Artist ft Otherartist - Song 4
    05. Artist ft Otherartist - Song 5.
    But that's normal, but even if I sort by album I get the same list:
    01. Artist - Song 1
    02. Artist - Song 2
    03. Artist - Song 3
    06. Artist - Song 6
    07. Artist - Song 7
    04. Artist ft Otherartist - Song 4
    05. Artist ft Otherartist - Song 5.
    So the songs aren't in the same order as they are supposed to be on the CD. And I would really like my albums to play in the same order than on the tracklist on the CD.
    I think the problem is caused by the fact that when you sort by "album" in iTunes media library, iTunes first sorts by albumname, and second by artistname, and third by tracknumber. In stead of sorting first by albumname, and then second by tracknumber in stead of the artist.
    My question: Is there a way to make sure iTunes sorts by albumname, and then by tracknumber in stead of artist, so I can play my albums in the same order as on the CD? Or is there an other solution for this issue?
    Thanks and kind regards,
    Sam Hoste

    See my previous post on Grouping Tracks Into Albums, in particular the topics Use an album friendly view and
    Tracks out of sequence.
    tt2

  • Can not sort the files in JFileChooser if the files are from remote machine

    Hi All,
    Let me set the context of the question.
    I have extended the JFileChooser to support the listing/view of files.dirs etc of remote location through CORBA.To achieve that i have customized
    my FileSystemView to support it. In general ,the current JFileChooser sorts the file when we have details view .My question is related to this.The default
    JFileChooser has the support for sorting but when i customized the FileSystemView,the sorting functionality is no more exist.I tried with TableRowSorter as well but
    the sorting can be achieved in View only,the model still remains same as initial.
    Any pointer towards this will be highly appreciated.
    Thanks
    Praveen

    Can anyone help me out to solve this problem or any suggestion regarding this ?
    Regards
    Praveen

  • Need to file a customer complaint with Corporate(Sony 4k TV)

    Hello I am a very frustrated Sony customer I purchased a Sony Bravia 4K TV model # XBR-65X850b from best buy on March 29, 2015 since then the TV has had issues 1. The color I'd faded and looks washed out 2. I can't keep the TV connected to the Internet with either wired or wireless setup( and it's not my internet provider that's been ruled out). 3. The 3d is unwatchable ghosting is visible and it jumps into 3d without there being any 3d content on the screen.  I can be watching regular TV and boom 3d will pop on. I called Sony to get this fixed and I keep getting the run around this TV is still under warranty but Sony doesn't want to help.  I spent my hard earned money well over 2 thousand dollars for this set and you would think that something could be done.  I received this email on July 16, 2015 that reads: Bryan Wilson, Sony appreciates your contact. Dear Bryan, Thank you for contacting Sony regarding your television repair, we have set a repair appointment for you on 07/22/2015 morning. Repair will be performed by our authorized service center HD Repair, the television will have to be in a serviceable position when technician arrives, please make sure the television is not wall mounted. In case you have any problem with the appointment you can contact them at 800-638-9682 and reference your case number: E61511913. Please feel free to contact us if you have further questions. Regards, Connie - C197 Sony Customer Experience TeamWe hope that the information provided has been helpful. If you have any questions, please do not hesitate to contact us via the following web page:http://esupport.sony.com/US/perl/support-contacts.plSincerely,Sony Support Then a week goes by and nothing. So I called the 800 number for HD repair and they tell me that Sony hasn't giving them the tracking number for parts needed and until they get the parts they will not send out a technician. HD repair also told me that if and when they get the parts in they will call me and schedule the appointment.  Then another two weeks go by and the repair technician from my city who is suppose to fix my TV called me and ask me why is your repair still in my que for over a month he asked if I canceled my repair.  I told him that the last I heard was Sony was ordering parts.  The guy told me to call HD Reair and Sony and find out when the parts will be order because he has seen this happen too many times before where Sony will put customers repair off and not get their unit fixed and the warranty will expire and the customer will be left with a defective TV. So I called HD repair and still the same "Sony hasn't updated us on the tracking info for the parts".  So I called Sony customer service to see if the parts was order and on the way but this guy keep me on hold for over an hour and gave me the number to call HD Repair again!!!!!  What I just got off the line with them and they said you guys was the problem.  So this goes on for another hour and he tell me that he has not tracking info and he has no other information to tell me other then the info I have in the email about my repair.  So two hours and I get no where near getting my set fixed. So I asked the Tech that you had me on the phone for over 2hrs and you knew nothing about my case the whole time and he tells me "yes you are right Bryan I'm sorry".    It's been over a month and nothing but the run around. This is the info the technical support guy gave me:  From: JOSAFAT, DANIEL JAY VILLANUEVA
    Sent: Friday, August 07, 2015 5:29 AM
    To: [email protected]
    Subject: Sony LinkHi Bryan,
    Here is the link for your Sony TV parts number and Chat Support, just click the link:
    http://146.215.230.18/release/MDSM/988860802_sm.pdf
    https://esupport.sony.com/US/p/chat-gateway.pl?region_id=1
    I'm very sorry for the 2 hour call!
    Have a great day!
    D-J
    Sony Technical Support Tier 1
    So I want to file a complaint and if nothing is done then I will contact Better Bussiness Bureu to get more info on how to go about this... Please help here is my email: [email protected]  

    Lilbigman76
    Did you pay with a credit card? If so I would call and see if they have some sort of dispute resolution to help. I would also involve the retailer. They have better ways to deal with Sony than we do.
    That is what I would do with such a new purchase. Many credit cards extend the warranty as well.
    It is worth a shot.

  • How can I make Sort by File Name the default in Adobe Bridge CS5?

    The only online support I have found so far avoids the specific question. Must I assume that Sort by File Name cannot be made the default - and will revert to Manual each time I close Bridge?

    If you have "start bridge at login checked" your changes will not keep unless you close program by clicking on File then Exit.  Just closing window does not exit program.
    Option is in advanced preferences.

  • How can I get Elements 11 Organiser to sort by File Name as in Elements 7

    I have just acquired Elements 11 to replace Elements 7
    All my main photos (thousands) are in 1 file on my computer.
    My individual file names are dates - eg "1960-09Sept Venice St Marks Square.." etc, so File Names bring my thousands of images up in date order.
    I have tagged them in  Elements 11  as  appropriate with 1 or more Tags per photo.
    In Elements 7 there is an Option "Display" and one of the options is "Folder Location" i.e file name order, which is what I want.
    I cannot find this option in Elements 11 - all I have found is an option to sort by just "new" or "old" i.e file date order. Fine for photgraphs where the file date is the same as the photo but a scan done today may be of an image in 1960 which is where I wanted it sorted!
    I know you can amend the file date in Elements 11 for each image but I have hundreds of scans to redate!
    I also know you can bring the images up in Elements 11 of my whole file by using "Reveal in Explorer" which brings them up in file name/date order for me but not when I click on the Elements 11 Tags which reverts to File Date.
    Is there anyway I can get the Tags to sort by File Name/Location in Elements 11 as in Elements 7?
    Tony

    Many thanks for your previous message. Very useful.
    In fact in preparing to answer your question, I find that maybe my problem is not as bad as I thought!
    Yes, I have a lot of photos but the majority in digital form are photos (2,500) since the year 2000 which will be sorted by Elements according to the photo/file date.
    I have 6,000 or so prints/slides going back mostly to the 1930s but quite a few back as far as the late 1800s. I am scanning a lot of these into digital form but I have only scanned about 500 or so so far and it is only these that are causing a problem. (I am unlikely to scan all 6,000!). These range from the 1880s to 2000. However, as I only started taking digital photos in 2000, if I follow your suggestion, I could give all my scans the same file date (a date prior to 2000) and if I understand correctly what you say, they will then all be sorted in the alpha/numeric order I want.
    Have I got this right?.
    I suppose, as an alternative, It would not be a real problem to insert a file date for the 500 or so I have scanned and I would then just need to enter a file date for any future scans.
    As you indicate, there are other options but one of the 2 options above seem at present to be my best bet.
    Thank you very much for your suggestions - maybe I can now more or less get what I want without too much effort but I would still prefer Adobe to add a File Location Option as before!
    First & last paragraphs were edited by: Tony Boulton 8/6/13 0054

  • Sort by file modification time

    I'm helping a friend out moving his IPhoto library. I'm trying make the process as streamlined as possible as he is not very computer savvy. He has number of albums that are in a custom sort order in iphoto. I do not see an option to sort by file modification time in LR. Although there is option by edit time (this pertains to stuff done in LR I assume). The process i plan on going through is the export the photos from iphoto album's. This should date/time stamp the file in the custom sort order they are in iphoto. But as said earlier in the post not option sort by file modification time.
    Thanks

    Does anyone know how to sort files in bridge( or any other program0by time created?

  • Call External Javascript file in Custom Visual WebPart

     Hi..
     How to call external javascript file in Custom Visual WebPart in sharepoint 2010
    Ravindranath

    Hello,
    Download that script and save in layout folder or within a site. Then use below script tag in webpart:
    <SharePoint:ScriptLink ID="ScriptLink2" Name="location/jquery-1.5.min.js" runat="server" OnDemand="false" Localizable="false" />
    http://stackoverflow.com/questions/5068663/how-to-call-an-external-javascript-file-from-a-webpart
    http://stackoverflow.com/questions/5243821/external-javascript-file-in-sharepoint-web-part
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I transferred files from a NAS server to the Mac Mini Snow Leopard Server and now some of the files have Custom Access and can't  be opened by some users.  How do I fix this?

    We're setting up our Mac Mini Snow Leopard Server, and in the process transferred files that had been stored and accessed from our Blackarmor NAS server over to the Mac.  These files were all created on PC's and are Office Excel files, WordPerfect files or PDF's.  When you look at the files on the Mac from the Mac and bring up Get Info for the affected file, it says that the file has Custom Access.  The files that work properly don't have that configuration.  I can access and open the files on some computers, but some users can't open the files from their computer even though they can see it.  We're all using PC's and they get the Error:  Access Denied-Contact your administrator--or something similar.  I've seen on the web similar issues and it may have something to do with ACL permissions.  I don't know enough about Mac OS to understand this, but what is baffling is that they can be opened from some PC's but not others, and all of the Users have the same accessibility to the files.  Thanks for a solution!!

    Oh, on the losing Internet, try this...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.
    PS. Your English is quite good & completely understandable.

  • How can I have uploaded pictures to iPhone or iPad be sorted by file name. Used to be able to based on their folders, but it no longer works and puts pictures in random order, I guess by date, which doesn't work for me. Need them by file name.

    Using windows. In the past I was able to have the picutres sorted in files and by file name and that is how they showed in the phone or pad. Not long ago one of the itune updates changed so it sorted by date and the the another update changed so it went by file name. Well when I got a new computer and updated itunes it won't load pictures in correct order. Is there an option I'm missing or is this an option that Apple should have for how you want pictures sorted?

    SELECT     datapoint,
               sub_total,
               section
    FROM       report_table
    WHERE      datapoint IN
                   (SELECT   datapoint
                    FROM     report_table
                    WHERE    section IN ('027', '038', '042', '044', '006', '008', '011', '022', '023')
                    AND      report_name = :selected_report_name
                    GROUP BY datapoint
                    HAVING SUM(CASE WHEN section IN ('027', '038', '042', '0440') THEN 1 ELSE 0 END)
                        <> SUM(CASE WHEN section IN ('008', '011', '022', '023') THEN 1 ELSE 0 END))
    ORDER BY   datapoint;

  • Questions on reading a file...

    Hi All,
    I have a few questions on reading a file...
    1st of all ... if I have
    BufferedReader inFile = new BufferedReader (new FileReader("tickets.txt"));and I do inFile.readLine(); will it read the next line everytime I do that? ... say I had a file that had 5 lines of text and I did inFile.readLine(); 5 times will I get the first line 5 times or will I get each line?
    If the is a blank line in the file will it return null?
    how can I feed the file name to args[0] and what is that for?
    Thanks,
    Mike

        public static void main(String args[]) {       
            BufferedReader inFile = null;   
            try {
                inFile = new BufferedReader (new FileReader(args[0]));   
                for (int i = 0; i < reservation.length; i++) {
                    readFile(reservation, inFile, arrayCounter, numberOfReadItems);*/
                    inFile.close();
            catch (ArrayIndexOutOfBoundsException aioobe) {
                System.out.println("Parameter required");
                System.exit(0);
            catch (FileNotFoundException fnfe) {
                System.out.println("File not found");
                System.exit(0);
            catch (IOException ioe) {
                System.out.println("Failed to close file");
                System.exit(0);

  • Questions on init.ora file

    Hi,
    I have some questions on init.ora file. While checking the init file in my system i found that it defines a spfile in a non default location.
    The parameter names are like
    1) db1.__db_cache_size
    2) *._kgl_large_heap_warning_threshold
    3) *.sga_target
    what do they indicate? I mean what does 'db1.__' , '*._' and '*.' indicate? There are multiple database in the Windows 2003 server and the db version is 10g R1
    Regards,
    SID
    Edited by: SID3 on Jun 29, 2010 5:55 AM
    Edited by: SID3 on Jun 29, 2010 5:56 AM

    SID3 wrote:
    From the discussion i guess the following points
    1) db1._ means they are specific to databases.
    2) *._ and * means they are used accross databases and chaging it in any of the initfile might affect all? I seriously doubt this.You are mistaken when speaking about database. Bear in mind, a database is not an instance.
    * here means this parameter will apply to any instance of that database (if it is in RAC), or to the only one instance of that database (if it is in non-RAC).
    Find out more :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_2013.htm#i2146449
    Nicolas.

  • How can I sort all files and folders by size?

    Due to lack of space I need to find the biggest files and folders on my Mac OSX Mountain Lion, but "Size" is not in the Find options.
    And I don't know the wildcard to sort all files and folders by size in Easyfind.
    Thanks
    Sarah

    There are applications out there which are designed to show you files and the space they use.  Some of these applications and some strategies for making more room on your disk are given below.
    Freeing Up Hard Disk Space
    Freeing space on your Mac OS X startup disk
    Clearing Disk Space on Your Mac
    Seven ways to free up drive space

  • My complaints and Questions MP4 M4V video files and other complaints

    My complaints and Questions MP4 M4V video files and other complaints
    I have been scratching my head as to how to fix my problem and I found some answers and some questions along the way. First of all, I have a video that should be correctly formatted for my iPod. Its specs are:
    Kind: MPEG-4 video file
    Size: 19.4 MB
    Bit Rate: 125 kbps
    Date Modified: 8/18/2009 2:15 PM
    Play Count: 1
    Last played: 8/21/2009 12:25 PM
    Profile: Low Complexity
    Channels: Stereo
    Total Bit Rate: 360 kbps
    Video Dimensions: 352x264
    Video Codec: H.264
    F:\File\AnotherFile\A3rdFile\TheMovieFileInQuestion.mp4
    Wow that was a chore. Apple! Let us drag copy and paste our info tabs information so we don’t have to type all this stuff when we are having trouble. **another problem and suggestion** right there.
    Ok, back to the problem of the forum.
    From what I can see from http://www.apple.com/ipodclassic/specs.html this file falls in line of everything required in order to be able to play on my iPod. It plays in iTunes fine but will NOT sync with my iPod. I get an annoying message that states, “Some of the Songs and videos in your iTunes library, including “BlaBlaBlaiPondFixYourJunkBlaBlaBla”, were not copied to the iPod “My iPod” because they cannot be played on this iPod.” Why oh why can iTunes play this video file but my iPod cant. Especially when the specs on Apple’s website say it can.
    So that was bugging me for a LONG time until I found my “Create iPod or iPhone version” option in the “Advanced” heading. Thank goodness this made my files playable on my iPod. Extremely LONG wait though. I know that other programs convert it in ½ the time. But times not to important as long as it gets done, (would be very convenient if it was faster though **Problem and suggestion**)
    Ok, now that I have used the “Create iPod or iPhone version” option it has slowly but surly converted my video. Ok, here is my main problem, the new file which is the result of the conversions information is as follows:
    Kind: MPEG-4 video file
    Size: 35.4 MB
    Bit Rate: 125 kbps
    Date Modified: 8/18/2009 2:15 PM
    Play Count: 1
    Last played: 8/21/2009 1:28 PM
    Profile: Low Complexity
    Channels: Stereo
    Total Bit Rate: 658 kbps
    Video Dimensions: 352x264
    Video Codec: H.264
    C:\File\WhyIsThisNewFileInMyMusicFolder\TheMovieFileInQuestion.m4v
    So basically it has made my file bigger *not a bonus in my book* greatly increased my Bit Rate *another interesting feature*, and I think the biggest change it has changed it from an .mp4 to an m4v.
    Why does it need to be an .m4v I could have sworn some of my videos were or are in mp4 which shouldn’t matter anyway because I was under the impression that iPods could play mp4 files. So that’s my biggest complaint and question. Why can my 80GB classic iPod not play my MP4 files and why am I forced to convert them??
    This conversion also creates 2 files in iTunes when I am done which is annoying because I have to go into my files info and look to see what file is the mp3 in order to remove it. Very annoying I can open my iPod options and see the files and some are faded (the ones it can not play) why can’t I remove them from that area.Suggestion Apple please make files that cannot be played on my iPod stand out some how for easier cleaning Suggestion. Thank you.
    Speaking of cleaning iPods, when I moved my entire library to an external drive I was faced with a terrible problem. “This file could not be found, would you like to locate file”, I was faced with this annoying message at least 600 times. Now I am glad that iTunes has a little “!” mark to show dead links so that you do some minor cleaning, Good Job iTunes No compliant there. However iTunes has no way of selecting all the broken files for major cleaning (like in my case). Going through and deleting over 600 files 1 by 1 is extremely time consuming and annoying. **Suggestion Apple please add more cleaning features for organizing iTunes**.
    Ok, speaking of organization now, another problem that appeared when converting my video files was that it put my new videos into the location where I have all my songs (my external hard drive) why can’t it put the new files in the locations of the original file? I have my computer highly organized and my original files were in that drive in that folder for a reason. If I could open my original file and skip the conversion, my iTunes would go to that specific folder to access the file which is fine. But now these new conversion files are elsewhere taking up space and disorganizing my computer. True I can go into the new location and move the files to where I want them (original location) but I don’t think I should have to hunt them down, copy, move, delete ect etc for all these files over and over. Very annoying, time consuming and should be unnecessary. **Suggestion Make file creation and location more customizable, and user friendly, your customers will love you for it**.
    Well since I have gotten into Apples iTunes and iPod problems that I have had to face I might as well bring up one or two more problems and suggestions. About a month after purchasing my iPod a sibling bought one as well. His however is way more convenient then mine. I suppose he has a 5th gen. so here is my question: why does he have a search option and I don’t!!!! Why does he get more features every so often and I don’t?! Why can’t Apple write some software for us classic guys which got the iPods going! It’s very annoying when I have to spend more time looking for the song then I spend actually listening to it, when he can pull his up in like 3-6 seconds? I highly doubt the hardware between our iPods is that dissimilar and even if they are why cant software be written for us. **Suggestion treat all your customers good not just the newer ones, and make some more features for the classics like me and my iPod.” We will be grateful for it I promise.
    Ok, I am almost done. Let me just recap my questions, I know my post is kind of lengthy.
    #1. Why can’t my iPod play MP3 video files? And why do I have to convert to almost all the same settings except changing it from an mp4 to an m4v. according to Apples own site I should be able to play .m4v .mp4 and .mov files!! Note: remember iTunes plays them fine but my iPod will not.
    #2. Would be much more convenient to be able to copy the information from the windows in iTunes so that problems and trouble shooting would be much easier. A little check on off options in iTunes advanced settings would be terrific.
    #3. Why is the conversion so slow? Please speed it, you have the power. Convenience is the thing that sells products.
    #4. Files that cannot be played on the current iPod need to be easier recognized for simpler cleaning.
    #5. Also make an easier way to select all dead link files for faster cleaning, deleting, etc. This one is important.
    #6. Make a user friendly way to change where my files are going to end up once I convert them for iPod more options and better customizable settings are need.
    #7. One of the most important is ADD A SEARCH OPTION. I and we classics will LOVE Apple for it.
    For you readers, I apologize for the long post, and any grammatical errors you might find throughout it. These are problems that I have faced with these programs and hardware and I wanted to make sure they got acknowledged and hopefully addressed. Any information about why I cannot play MP4 Video files on my iPod would be the best. If anything in my post gets answered that’s the one I want most. Will save me a lot of hassle.
    Thank you all and I look forward to your suggestions and comments. All are welcome and appreciated.
    Sincerely,
    Bond, James

    Was playing with iTunes and thought of another suggestion! Let us play files in iTunes from an iPod! A friend or sibling should be able to plug his iPod into my computer open iTunes and play any of the files there. Many times I have wanted to show a movie clip or video to a friend, and I have the dock so I can do it on my T.V. but play it on their computer in their iTunes forget it. That would be a very nice feature as well so we can watch our movies at maximum size or listen to music on a better sound system, just another suggestion that would be nice. Thanks

  • My files no longer sort properly - files beginning with AEIOU come before

    My files no longer sort properly - files beginning with AEIOU come first after numbers and special characters, then letters H, K, M-N, P, W, B-D and so on. I click on the column header again and it reverses the sort, but still messed up. This convoluted sort appears in all views. All the letters are grouped together, so all the "a"s, "e"s, etc are being sorted by some algorithm, but it's not alphabetical. I noticed it after installation of Snow Leopard, but it could have been that way before. I did a wipe and load and just imported user settings from Time Machine afterwards. Any suggestions on how I can fix this?

    Usually, it is (1) a preference file located here
    <user home folder>/Library/Preferences/
    In this case, the problem is not just Finder if it also happens in Mail. Unfortunately, there are a lot of preference files.
    Or it is (2) a background process that runs when you log in to your account. If it is something that starts automatically, it may be one of your Login Items. You can look at System Preferences Accounts pane +Login Items+ tab. That list shows processes that run when you log in to that account. If you see anything that you no longer need, you should remove it. Look for anything there that might, for whatever reason, change the alphabetical sort order.
    Make sure English is selected as language in System Preferences +Language & Text+ pane. It seem improbable that it would not be, but I just noticed there is a setting at the bottom of that pane that says +Order of sorted lists+. Does that have something other than English ?

Maybe you are looking for