Controlling the sort order for a column?

I have a column which uses strings that I want to sort on. But, I don't want to do simple string sorting. Can I effect the sort order somehow? Maybe enumerate the values and assign integers to them?
For example, I want to use Low, Medium, and High. Or maybe: L-, L, L+, M-, M, M+, H-, H, H+
Any pointers on how to do this?

Todd,
Not knowing what you're trying to sort, it is difficult to make specific suggestions. Basically, two approaches come to mind. 1) start the lines of the column you want to sort with some type of sort code or 2) place that sort code in another column and sort on two columns - possible hiding the one with the codes.
The next problem is designing a code that fits your situation. In the example you gave something like 1L-,2L,3L,...,8H,9H may work because there are only 9 categories. If more than 9, two digit numbers may work but remember to use leading zeros to pad single digit numbers.
The code could also be alpha characters with relevance such as "Auto", "Clot", "Food", "Hous", "Misc", etc. But again, if these alphabetic categories are not in the order you like you may have to precede them with some sequence device to get what you want. Maybe something like "aFood", "bClot", "cHous", etc. would work. Designing a code applicable to a given situation that one can easily remember is not always easy.
Hope this gives to something to think about and if you care to give more details you'll surely get some specific suggestions.
pw

Similar Messages

  • How to Control the Sorting Order of iPhone Contacts from Outlook?

    In a series of editing steps we've loaded ca. 1,900 personal and business contacts from Outlook into a 1st gen iPhone with 2.0.1 software on it. To our surprise we found that while most of the entries were listed and sorted by company, certain entries were listed and sorted by the person's name. It looked random and there didn't seem to be any way to control it on the iPhone.
    While troubleshooting the problem we synced up the iPhone with an empty Address Book on a MacBook Pro and found that the sort order flag was indeed set differently on these entries. When we changed the sorting flag of a contact in the Mac's Address Book to "Company" it also changed on the iPhone after the next sync.
    Problem: In our business environment it is impossible to switch to Macs for contact administration. We need to do it from Outlook. This is one of several features needed for the adoption of iPhones.
    Question: Is there a way to control this flag on the individual iPhone contact entries from Outlook Contacts?

    Well, I think we figured it out.
    Outlook doesn't offer a sorting flag on person or company name. Instead it uses a separate "File As" string. The problem with our contacts was that this "File As" string was frequently edited to be something else than exactly the personal or company name, e.g. it was set to an abbreviated company name. Once we set the "File As" to any of the defaults offered, i.e. person or company name, the sorting flag in iPhone was properly set through the synchronization.
    Obviously, the application logic compares the content of these fields in Outlook and decides how to set the flag. If it can't find the company name in "File As" it defaults to person.
    This was an expensive holdup for us. It cost us 2 man days to figure it out. Is there any place where such application logic is described?

  • How do I change the Sort order for Music Video's on the iPad

    Hi All,
    Apologies if this has been dealt with elsewhere - I can find posts about sort order for TV Shows and Movies but not Music Video's.
    When I sync my music video's the appear in Track order in the video app and I cannot find how to change the sort order to 'by Artist' (or any other order come to that).
    Any ideas please>

    Hi!
    Im afraid I believe this cannot be done yet. Sorry!
    You can try submitting feedback to apple by clicking [here|http://www.apple.com/feedback/ipad.html] if you wish.
    Hope this helps!

  • Control of sort order for asian language navigation

    I am a help writer who is working with both development and a localization vendor to create localized javahelp. I am the most knowledgeable about javahelp, which is not saying much. It has come to me to figure out how to establish the correct sort order for Simplified Chinese and Japanese language Index and Glossary navigators, Could someone explain to me how this is done outside of tools like RoboHelp (which has caused us major headaches yet seems to be the only way the vendor knows how to do JavaHelp). In layman's terms, please.
    thanks,
    ellen

    Same issue here, and the bug syncs to my iPhone, so when I want to quickly text or e-mail someone, their phone numbers and e-mail addresses appear in the wrong order, Work or Home before iPhone or Mobile. How can we get this big fixed in the next Snow Leopard update?

  • Persisting(MDS) Sort Order for af:column

    Hi All,
    I have a requirement where I would want to persist the sort order of a Rich column using MDS.
    Can I persist the ascending /descending order of a Rich Column into MDS ?
    Thanks and Regards
    Harish

    Todd,
    Not knowing what you're trying to sort, it is difficult to make specific suggestions. Basically, two approaches come to mind. 1) start the lines of the column you want to sort with some type of sort code or 2) place that sort code in another column and sort on two columns - possible hiding the one with the codes.
    The next problem is designing a code that fits your situation. In the example you gave something like 1L-,2L,3L,...,8H,9H may work because there are only 9 categories. If more than 9, two digit numbers may work but remember to use leading zeros to pad single digit numbers.
    The code could also be alpha characters with relevance such as "Auto", "Clot", "Food", "Hous", "Misc", etc. But again, if these alphabetic categories are not in the order you like you may have to precede them with some sequence device to get what you want. Maybe something like "aFood", "bClot", "cHous", etc. would work. Designing a code applicable to a given situation that one can easily remember is not always easy.
    Hope this gives to something to think about and if you care to give more details you'll surely get some specific suggestions.
    pw

  • 8.1 did not sort the sort order for events in photos app

    With 7000 photos in more than 300 events You must have them in alphabetic order as before in 7.1 The pictures are synced from iMac iPhoto. How to do a search. The events are not found by names

    When I drag albums into the correct order in Photos for Mac, they show up in reverse order on the iOS devices. Thus there seems to be a bug in either iOS 8.3, OS 10.10.3 or iCloud Photo Library.
    The browser version of iCloud Photo Library (icloud.com) is currently updating. I am waiting to see which way my albums are sorted there.
    There is no promise at all, or documented anywhere, how sorting of library items will sync across the devices. This has been haphazard when syncing iPhoto Libraries - synced faces not sorted, synced events  not sorted, etc. So it is at least a step in the right direction, in Photos that the albums are sorted at all.

  • What's the sort order for podcasts on the shuffle?

    Hi all... Can someone tell me how the iPod Shuffle orders podcasts? I've seen MANY posts saying there's no way to manually sort podcasts on the shuffle (which is crazy IMO), but at least if I know how it's ordering the podcasts that'll help me identify which one is next.
    I added 15 podcasts to the shuffle, and sorting by every category I can find none that matches the order the shuffle places the podcasts in.
    So first question -- what order are the podcasts stored in?
    And second question -- Why the heck did Apple do this? Why can't podcasts just be treated like standard MP3 songs?
    And finally if there's no answer to either of these, is there anyway to get ipodderx to sync to the ipod shuffle? I love itunes, but if it's going to hender my hardware I'll switch to something else.
    Thanks for any help on this, and take care --
    Sam

    Hi Dean,
    I'm wondering if something's wrong with my podcast, because that's not what happens on mine. For example I have my podcasts in this order:
    NPR Technology
    Haunted New Jersey
    Autumn in New England
    Hometown Tales Podcast
    And even after selecting File then Update iPod and even right-clicking on ipod and selecting Copy to Play Order the order of the podcasts are :
    Haunted New Jersey
    Hometown Tales Podcast
    NPR Technology
    Hometown Tale Podcast
    Nothing I've done sorts the podcasts as they should be sort. Also i set it to not show the ipod unless it's connected, and when I sort the podcasts as I want, Update ipod, and plug ipod, plugging it back in shows the wacky sort order they're stored on the ipod. I can rearrange again, update again, eject and plug back in, and the crazy sort order (not mine) is back.
    Is there something I'm missing????
    Sam

  • The Sort order for a playlist created on my MB Pro is wrong on my iPad. Can I fix this?

    When I create a playlist on my MB Pro I cannot guarantee that the playlist will be in the same sort order on my iPad. It is on my MB Air, but not on my iPad. Does anyone know why? How can I correct this?
    This is important with classical music where the order of the tracks may be critical.
    Thanks in advance
    ed

    Try deselecting Sync Music under the Music tab for your iPhone sync preferences with iTunes followed by a sync which should remove all music from your iPhone. Follow this by reselecting Sync Music and your selections below followed by another sync to re-transfer the music.

  • Any way to set the sort order other than in the query?

    The report has an OrderBy parameter so the user can select which field is used for sorting. The query has an OrderBy clause referencing the parameter. The problem is that it doesn't always pay any attention to the parameter. (Since it appears to be intermittent my suspicion is that it really never pays any attention to it but that sometimes whatever actually is determining the order gives the same results.)
    The problem is that putting an OrderBy clause in a query is the only way I know of to determine the output order of a report. Is there any other way?
    Thanks.

    Unfortunately Break Order doesn't seem to be controlling the sort order. I found that the value was set on numerous fields but I've changed them all to None & it still isn't displaying in the order specified by the OrderBy parameter.
    Note that this is a 'form layout' report with one page/record so it doesn't really have columns-but the pages are supposed to be printed in the order chosen by the user from a list of values. It doesn't seem to matter what's selected from that list though, the output appears in the same order as if no Order By clause is specified.
    Can you think of anything else that would cause the report to ignore the order by clause?
    thanks.

  • How to control photo sort order in flickr publish folder

    Using LR 5.3 and trying to control the sort order of photos in a Publish folder (Flickr). When I drag-and-drop the photos, they never end up in the location indicated by  the dark black bar that appears under the mouse cursor. Usually appear within 5 or 6 places of the dropped location, but sometimes up to 20 places away from the dropped location. Futzing with the location sometimes gets them closer, but not always. It's very frustrating. I've seen comments about certain restrictions for manual sorting (e.g. not feasible in Smart Collections), but no specific reference to sorting in a Publish service. Is there a way to put the photos into the exact order that I want in a Flickr Publish folder? (Note: drag and drop does not work correctly... that's the problem).

    Click the Action icon > show view options > Arrange by none > sort by name.

  • Default Sort Order for Library View

    It would be fantastic if there were a user defined preference for a default sort order in Library view. For example, some users may prefer to always view the images by File Name, or Rating, etc, without having to change the sort order for each individual folder they view via Lightroom.
    Thanks!

    Thanks for your suggestion Allan, but it doesn't work.
    I'm specifically referring to the defaults that Aperture 3 adopts when you use the "File, Import, Folders as Projects with the projects and albums setting.
    What I'm finding is regardless of the setting in the Library preferences, the default sort order for the project is Date and Manual for the album.
    Yet if I create a project manually the default sort order is as per the Library prefs. Strange.

  • Looking for a way to change sort order for albums

    I know how to set the sort order for each individual song (Sort tab on song info), but is there a way to set sort order for multiple tracks?

    Please help!

  • How to change sort order for Notes in iOS?

    When using Notes in OS 10.10, I can change the sort order. However, I cannot see how to change the sort order for Notes in iOS8 on my iPhone. I sync using iCloud, but the iPhone does not pick up the sort order (alpha) that I have chosen on my MBP.
    Is it possible to change the sort order on phones?
    Thanks.

    View > Sort By > Title

  • Sort order for Simplified Chinese (pinyin)

    FrameMaker 10 (Windows)
    It seems that if I specify the sort order for Simplified Chinese (pinyin) on the reference page,
    index entries that start with "i" and "v" are not shown under their corresponding group titles.
    (I assume that this may be due to the fact that pinyin words never start with these letters.)
    If I have an entry that starts with an English word like "IP," it appears under the "J" group.
    I want the entry to appear under the "I" group. How can I do this?
    I have the IX reference page set up as follows:
    GroupTitlesIX paragraph
    Symbols[\];Numerics[0];A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z;
    SortOrderIX paragraph
    <$symbols><$numerics><$alphabetics><$pinyin>
    I've also tried:
    SortOrderIX paragraph
    <$symbols><$numerics><$pinyin>
    Thanks in advance.
    Tak Osato

    I sort of found a workaround, but it may lead to other problems, so use it at your own risk.
    It also requires a bit of work.
    The idea is to use the sort order for Japanese by specifying the following in the IX reference page.
    Symbols[\ ];数字[0];A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z;あ;い;う;え;お;か;き;く;け;こ;さ;し;す;せ;そ ;た;ち;つ;て;と;な;に;ぬ;ね;の;は;ひ;ふ;へ;ほ;ま;み;む;め;も;や;ゆ;よ;ら;り;る;れ;ろ;わ;ん;[ ]
    <$symbols><$numerics><$alphabetics><$kana>
    Then, you need to capitalize the first letter in the bracket used for sorting for every index entry.
    Example:
    Instead of
    画面[hua4mian4]
    specify
    画面[Hua4mian4]
    Now, I'm wondering if there is a way to do a search and replace on all index entries to capitalize the first letter...

  • Changing Search sort order for Simplified Chinese

    We're generating a Simplified Chinese WebHelp system using Robohelp 10 and we need to change the sort order in the Search results so that it follows the pinyin order instead of "Y, Z, M, T" (Referring to 仪,准,美,通). Is there a way to do this?

    I sort of found a workaround, but it may lead to other problems, so use it at your own risk.
    It also requires a bit of work.
    The idea is to use the sort order for Japanese by specifying the following in the IX reference page.
    Symbols[\ ];数字[0];A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z;あ;い;う;え;お;か;き;く;け;こ;さ;し;す;せ;そ ;た;ち;つ;て;と;な;に;ぬ;ね;の;は;ひ;ふ;へ;ほ;ま;み;む;め;も;や;ゆ;よ;ら;り;る;れ;ろ;わ;ん;[ ]
    <$symbols><$numerics><$alphabetics><$kana>
    Then, you need to capitalize the first letter in the bracket used for sorting for every index entry.
    Example:
    Instead of
    画面[hua4mian4]
    specify
    画面[Hua4mian4]
    Now, I'm wondering if there is a way to do a search and replace on all index entries to capitalize the first letter...

Maybe you are looking for

  • New Unibody MBP won't boot from DVD or external drive, just loops

    Hey We bought a new Unibody MBP on Monday, and loaned it to our CTO for a presentation. Having got it back from him now I wanted to nuke the installation and put a fresh copy of leopard on it, so I dropped the DVD in the drive, powered down, and boot

  • How do I put a pdf flyer in the body of a message?

    Several times a month I send out a group message. Before I attached a pdf file which is a flyer with the info. I would like to send the email with the flyer right there in the body of the message (not as an attachment). Haven't had any luck so far an

  • DBLINK - restrict access to specific objects

    I have created private DBLINK to connect to a particular user. I want to restrict only select access to only selected tables under that schema?. Could someone let me know how to restrict the access?.

  • Every time I start Firefox, why do I get a Google sign-in tab?

    I'm using Firefox for Mac vets. 34.0.5, and I get that extra tab that opens every time I start Firefox in addition to the Home page I specified in Preferences. How do I stop that from happening?

  • Unable to upgrade to itunes 7

    I haven't used the music store for some time, but when I tried to use it today I got the message that I cannot purchase music until I upgrade to itunes 7. I get a page with an "upgrade" button but nothing at all happens, not even a staus bar or error