SQL Query Sorting Order issue - Help needed

Hi All,
I am using the following query in my project to display the records in the grid.
/* Formatted on 04-09-2013 PM 8:01:51 (QP5 v5.149.1003.31008) */
  SELECT eol,
         status_msg,
         relation,
         building_name,
         device_id id,
         CEIL (SYSDATE - updated_date) duration,
         lab_id,
         aisle_id,
         aisle_location_id,
         ip_address,
         port,
         slot_num,
         hostname,
         pid,
         description,
         sl_num,
         eitms_code,
         status,
         dnd_flag,
         aisle,
         aisle_location,
         spname,
         os_version,
         user_id,
         TO_CHAR (updated_date, 'YYYY-MM-DD HH24:MI:SS') updated_date,
         isterm_svr,
         net_type,
         DEVICE_GROUP_REF,
         cmd_id_ref,
         LISTAGG (TESTBED_ID, ',') WITHIN GROUP (ORDER BY TESTBED_ID)
            AS testbeds_id_ref,
         LISTAGG (NAME, ',') WITHIN GROUP (ORDER BY TESTBED_ID)
            AS testbeds_names,
         spname || '-' || ip_address || '-' || port AS child_asset_group
    FROM DEVICE_TESTBED_VW
   WHERE lab_id IN
            ('7099849',
             '10769617',
             '4258712',
             '10513562',
             '10515074',
             '5882676',
             '8330925')
GROUP BY eol,
         status_msg,
         relation,
         device_id,
         lab_id,
         aisle_id,
         aisle_location_id,
         ip_address,
         port,
         slot_num,
         hostname,
         pid,
         description,
         sl_num,
         eitms_code,
         status,
         dnd_flag,
         aisle,
         aisle_location,
         spname,
         os_version,
         user_id,
         updated_date,
         isterm_svr,
         net_type,
         DEVICE_GROUP_REF,
         cmd_id_ref,
         building_name
ORDER BY building_name ASC,
         LOWER (child_asset_group) ASC,
         LOWER (relation) DESC
The problem is , if any one sorting with any column  , the order is not correct
In this below code , i have done sorting by port . But the result data order is not correct .
/* Formatted on 04-09-2013 PM 8:07:02 (QP5 v5.149.1003.31008) */
  SELECT eol,
         status_msg,
         relation,
         building_name,
         device_id id,
         CEIL (SYSDATE - updated_date) duration,
         lab_id,
         aisle_id,
         aisle_location_id,
         ip_address,
         port,
         slot_num,
         hostname,
         pid,
         description,
         sl_num,
         eitms_code,
         status,
         dnd_flag,
         aisle,
         aisle_location,
         spname,
         os_version,
         user_id,
         TO_CHAR (updated_date, 'YYYY-MM-DD HH24:MI:SS') updated_date,
         isterm_svr,
         net_type,
         DEVICE_GROUP_REF,
         cmd_id_ref,
         LISTAGG (TESTBED_ID, ',') WITHIN GROUP (ORDER BY TESTBED_ID)
            AS testbeds_id_ref,
         LISTAGG (NAME, ',') WITHIN GROUP (ORDER BY TESTBED_ID)
            AS testbeds_names,
         spname || '-' || ip_address || '-' || port AS child_asset_group
    FROM DEVICE_TESTBED_VW
   WHERE lab_id IN
            ('7099849',
             '10769617',
             '4258712',
             '10513562',
             '10515074',
             '5882676',
             '8330925')
GROUP BY eol,
         status_msg,
         relation,
         device_id,
         lab_id,
         aisle_id,
         aisle_location_id,
         ip_address,
         port,
         slot_num,
         hostname,
         pid,
         description,
         sl_num,
         eitms_code,
         status,
         dnd_flag,
         aisle,
         aisle_location,
         spname,
         os_version,
         user_id,
         updated_date,
         isterm_svr,
         net_type,
         DEVICE_GROUP_REF,
         cmd_id_ref,
         building_name
ORDER BY PORT ASC
Can some one help me to fix this issue?

Hi,
Sorry, it's not clear what you want.
Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
Simplify the problem as much as possible. For example, if you really need to GROUP BY 28 columns, post a problem where you need to GROUP BY only 2 or 3 columns.  (Just explain that you really have 28, so people will give solutions that are sure to work for all 28).)
Always say which version of Oracle you're using (for example, 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002

Similar Messages

  • SQL query, IF ELSE issue - Help.

    I am trying to migrate data from one table to another, however I am having problems trying to figure out a small issue in my Query.
    I'm using Oracle 11g, SQL Developer 3.0
    here is my old table
    CREATE TABLE PROD.RELATED_OFFENDERS
         CREATED_DATETIME DATE ,
         LAST_UPD_DATETIME DATE ,
         LAST_UPD_ID VARCHAR2 (30 BYTE) ,
         CREATOR_ID VARCHAR2 (30 BYTE) ,
         USSC_ID NUMBER (10) ,
         REL_ORG_ID NUMBER (10)  NOT NULL ,
         REL_ORG_NAME VARCHAR2 (100 BYTE) ,
         REL_IND_NAMES VARCHAR2 (100 BYTE) ,
         REL_DOCKET_NUM VARCHAR2 (7 BYTE) ,
         REL_LEVEL_AUTH NUMBER (2) ,
         REL_LEVEL_AUTH_TEXT VARCHAR2 (240 BYTE) ,
         SENT_TYPE_CODE NUMBER (2) ,
         INDICATOR VARCHAR2 (1 BYTE)
    ALTER TABLE PROD.RELATED_OFFENDERS
        ADD CONSTRAINT RO_PK PRIMARY KEY ( REL_ORG_ID ) ;New table
    CREATE TABLE USSC_CASES.CORP_RELATED_OFFENDERS
         REL_ORG_ID NUMBER (10)  NOT NULL ,
         SENT_ID NUMBER (12)  NOT NULL ,
         DEF_TYPE_CODE NUMBER (1) ,
         DEF_TYPE_NAME VARCHAR2 (100 BYTE) ,
         REL_DOCKET_NUM VARCHAR2 (7 BYTE) ,
         REL_LVL_AUTH NUMBER (1) ,
         REL_LVL_AUTH_TEXT VARCHAR2 (240 BYTE)
    ALTER TABLE USSC_CASES.CORP_RELATED_OFFENDERS
        ADD CONSTRAINT CORP_REL_OFF_PK PRIMARY KEY ( REL_ORG_ID ) ;In the old table you will notice i have the following attributes:
    REL_ORG_NAME VARCHAR2 (100 BYTE) ,
    REL_IND_NAMES VARCHAR2 (100 BYTE) ,
    In my new table I have both columns as one called DEF_TYPE_NAME VARCHAR2 (100 BYTE).
    what I'm trying to do is use the INDICATOR column VALUE (old table) for each row and say the following in SQL code:
    (if INDICATOR = 'I' then DEF_TYPE_NAME = the value of REL IND_NAMES
    else if INDICATOR = 'O' then DEF_TYPE_NAME = the value of REL_ORG_NAME) AS DEF_TYPE_NAME
    here is my query
    INSERT INTO USSC_CASES.CORP_RELATED_OFFENDERS
    SELECT
              RO.REL_ORG_ID AS REL_ORG_ID,
              S.SENT_ID AS SENT_ID,
              DECODE(RO.INDICATOR, UPPER(TRIM('I')), 1, 2) AS DEF_TYPE_CODE,
              AS DEF_TYPE_NAME, -- here is where I'm having issues.
                    RO.REL_DOCKET_NUM AS REL_DOCKET_NUM,
              RO.REL_LVL_AUTH AS REL_LVL_AUTH,
              RO.REL_LVL_AUTH_TEXT AS REL_LVL_AUTH_TEXT
    FROM      PROD.RELATED_OFFENDERS RO,
              PROD.SENTENCES S
    WHERE     RO.USSC_ID = S.CORPSENT_USSC_ID
    AND      RO.SENT_TYPE_CODE = S.SENT_TYPE_CODE
    AND          RO.SENT_TYPE_CODE = 1
    ORDER BY REL_ORG_ID;Thanks in advance for your help.

    INSERT INTO USSC_CASES.CORP_RELATED_OFFENDERS
    SELECT  RO.REL_ORG_ID AS REL_ORG_ID,
            S.SENT_ID AS SENT_ID,
            CASE RO.INDICATOR
              WHEN 'I' THEN REL_IND_NAMES
              WHEN 'O' THEN REL_ORG_NAME
            END AS DEF_TYPE_NAME,
            RO.REL_DOCKET_NUM AS REL_DOCKET_NUM,
            RO.REL_LVL_AUTH AS REL_LVL_AUTH,
            RO.REL_LVL_AUTH_TEXT AS REL_LVL_AUTH_TEXT
      FROM  PROD.RELATED_OFFENDERS RO,
            PROD.SENTENCES S
      WHERE RO.USSC_ID = S.CORPSENT_USSC_ID
        AND RO.SENT_TYPE_CODE = S.SENT_TYPE_CODE
        AND RO.SENT_TYPE_CODE = 1
      ORDER BY REL_ORG_ID;SY.

  • Executing nested query contains ORDER BY:Help Needed

    I have a database in ORACLE 8.0 enterprise
    edition in HP-UX. I am trying to execute the following query
    "select * from ( select * from temptable order by value desc) where rownum < 5"
    and I am getting the following error
    "missing right parenthesis"
    This syntax is given in the Oracle user guide
    under sql commands section and it is not
    working.
    Similar query is working on Oracle 8.1 running on Win NT.
    Does any body throw some light.
    Thanks in advance
    -raj

    Your query works fine in Oracle 8i:
    SELECT *
    FROM (SELECT *
    FROM temptable
    ORDER BY value DESC)
    WHERE ROWNUM < 5;
    However, prior to Oracle 8i, in Oracle 8.0, it is not allowed to have an ORDER BY clause within a nested query. So, in Oracle 8.0, a query like the above cannot work. However, the following, with the ORDER BY clause in the outer query will work:
    SELECT *
    FROM temptable a
    WHERE 5 >=
    (SELECT COUNT (*) + 1
    FROM temptable b
    WHERE b.value > a.value)
    ORDER BY a.value DESC;
    null

  • GROUP BY and ORDER BY help needed

    I have got an sql query where I have the need to pull out the latest copy of duplicate info, but what is happening is that the first instance is being displayed. The query I have is this:
    SELECT *
    FROM tbl_maincontenttext
    WHERE fld_menusection = 3
    GROUP BY fld_webpage
    ORDER BY fld_timedate DESC
    Basically, I have content that is listed under menu section 3, but within that I will have several copies of content that will relate to a specific webpage (eg: about us). What is currently happening is that GROUP BY is obviously grouping the similarly named 'about us', but it is pulling the first record it comes across out of the database rather than the latest updated record.
    As you can see, I am trying to get the query to order by fld_timedate which is a CURRENT_TIMESTAMP, but it's not working!
    I'm hoping that there is some sort of SQL that I am unaware of that will help me group by and display the latest update/content.
    Thanks.
    Mat

    It would help if you could show us the table definition. Your SQL statement is ambigous because you are selecting all table columns, yet only including one column in the group by clause.  A SQL statement must contain all selected columns that are not aggregates. Most DBMS will return an error for this statement. Others that don't return an error will return unexpected results.

  • How do tune sql query? Can somebody help me in this? Atleast prescribe book

    how do tune sql query? Can somebody help me in this? Atleast prescribe a reference book.
    I am not able understand How to analyze tkproof output.

    Check out asktom.oracle.com
    Lot's of threads on interpreting tkprof output - no simple easy solution here.
    You need to understand what is happening and THINK. Then you can be a good engineer.
    As for good books...
    Tom Kyte's books are really, really good.
    http://www.amazon.com/Effective-Oracle-Design-Osborne-ORACLE/dp/0072230657/ref=sr_1_3?ie=UTF8&s=books&qid=1266783471&sr=8-3
    http://www.amazon.com/Expert-Oracle-Database-Architecture-Programming/dp/1590595300/ref=sr_1_1?ie=UTF8&s=books&qid=1266783471&sr=8-1
    Good luck!

  • Sorting Issue Help Needed Badly

    *+{color:#000000}*Hello All,*+*
    I am having a small piece of code in my project that retrieves file names from a directory applying filename filter. Well i am happening to get them fine in sorted order. But when i implement that program in other machine it happens that all the file names are in unsorted order. I applied several sorting techniques Collator, SortedSet etc. no luck+</stro
    Any could help me on this. By the way my development machine has JDK 1.6 while implementing system has only JRE1.5 which comes embedded with jBase. Consider i have nothing to do with jBase thats another team's project.{color}+*
    FilenameFilter fileNameFilter = new SEPITFilenameFilter(".JPG");
    String slideURLs[] = slideBase.list(fileNameFilter);
    slideURLs = Storage.sortStringsInAscending(slideURLs);
    public static String[] sortStringsInAscending(String[] array)
    Collator collator = Collator.getInstance();
    CollationKey collationKey[] = new CollationKey[array.length];
    for(int k=0; k<array.length; k++)
    collationKey[k] = collator.getCollationKey(array[k].trim());
    int i=0;
    boolean swapped = true;
    while(swapped)
    swapped = false;
    i++;
    for(int j=0;j<(array.length-i);j++)
    int comparator = collationKey[j].compareTo(collationKey[j+1]);
    if(comparator > 0)
    String tempString = array[j];
    array[j] = array[j+1];
    array[j+1] = tempString;
    swapped = true;
    return array;
    }

    Well, if you simply want to sort the file names themselves, build a List and then call Collections.sort(). String already has a comparator built-in that will sort them ascending for you.
    If you want to customize things, write a Comparator. Then call Collections.sort().
    - Saish

  • Error while running Process Order API to import orders - URGENT HELP NEEDED

    Hi all,
    I'm stuck with order import using OE_ORDER_PUB.PROCESS_ORDER api. Wanted to import a simple order in Vision database using the process order api. Figured out the right data to use, inserted into Headers and Lines Iface All tables. When calling the OE_ORDER_PUB.PROCESS_ORDER api, it is throwing this error:
    "Header ID does not exist on this record or does not match ID specified on header record. You require a valid header ID if the operation is Create."
    But when I validate the same record using the CORRECTIONS form in Order Import GUI, the order is successfully validated. Also the order is imported when I click the IMPORT button.
    I understand that HEADER_ID column is not required for creating a new order, but not sure why it is erroring. Here is the data I'm using:
    Insert into oe_headers_iface_all
    (org_id, order_type_id, order_source_id, orig_sys_document_ref, ordered_date, request_date,
    sold_from_org_id, sold_to_org_id, ship_from_org_id, ship_to_org_id, invoice_to_org_id,
    CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN,OPERATION_CODE)
    values (204, 1430, 1046, '101040', sysdate, sysdate, 204, 1004, 606, 1018, 1017, 0, sysdate, 0, sysdate, 0, 'CREATE');
    Insert into oe_lines_iface_all
    ("ORDER_SOURCE_ID","ORIG_SYS_DOCUMENT_REF","ORIG_SYS_LINE_REF","ORIG_SYS_SHIPMENT_REF","ORG_ID","INVENTORY_ITEM","LINE_TYPE_ID",request_date,"SCHEDULE_DATE","DELIVERY_LEAD_TIME","ORDERED_QUANTITY","ORDER_QUANTITY_UOM",sold_from_org_id, sold_to_org_id, ship_from_org_id, ship_to_org_id, invoice_to_org_id,"UNIT_SELLING_PRICE","CREATED_BY","CREATION_DATE","LAST_UPDATED_BY","LAST_UPDATE_DATE","LAST_UPDATE_LOGIN","OPERATION_CODE")
    values
    (1046,'101040', '1', '1', 204, 'AS72111', 1427, sysdate, sysdate+1, 0, 10, 'Ea' ,204, 1004, 606, 1018, 1017,100,0,sysdate,0,sysdate,0,'CREATE');
    Any help is appreciated.
    FYI - this is a 11.5.10.2 version installed on Windows 2003 server.
    Thanks in advance.
    Jags

    I might be late in replying, but hope it might help.
    From your query it seems you are inserting records into interface tables and then calling process order API( probably from some PL/SQL block).
    This is where I am confused, because I hope you understand, that interface tables are for use with Order Import concurrent Program, and for Process ORder API, you need to provide the data as parameter. The api has, header record type and line table type as parameters. So you need to assign correct data to these variables and pass them as parameter when you are calling Process Order API.
    If you are doing the same thing, then post the exact pl/SQL code and error message from the API. That might help diagnose the issue.
    Regards,
    Nitin Darji

  • Problem with sql;query tag!  Please help ...

    Dear all,
    I have the following SQL statement submitted by a sql;query tag:
    <c:out value='${namestring}'/> // <-- namestring is printed out as ABC-% here.
    <sql:query var="resultset">
    SELECT sales
    FROM SALESTABLE
    WHERE name LIKE <c:out value='${namestring}'/> //<-- appearently namestring is not ABC-% anymore!!!
    </sql:query>
    Everything is fine except the satement "WHERE name LIKE ?". The namestring passed in is supposed to be in the form 'ABC-%'. It indeed prints out as 'ABC-%' before the <sql:query/> tag.
    Appearnetly, when it is passed to the statement "WHERE name LIKE ?", it becomes something else because it returns no data.
    Note that when I hardcode 'ABC-%' to the WHERE statement, however, I do get a lot of data back.
    I also tried to to use <sql:param/> tag to tackle it:
    <sql:query var="resultset">
    SELECT sales
    FROM SALESTABLE
    WHERE name LIKE ?
    <sql:param value='${namestring}' />
    </sql:query>
    But still got no data. Is '%" considered as special characters that needs to be treated in a special way? What else do I need to do in order to pass in 'ABC-%' to the statement???
    By the way, is there a way to print out the generated SQL statement to see how all the variables are evaluated?
    Any help or suggestions will be highly appreciated. Thanks.
    Robert.

    Try to escape the special character '%' using '\%'.

  • SQL query...pls help ASAP

    Actor (Aname: varchar(40), Ano: varchar(6)) Ano is pk
    Movie (Mname: varchar(40),mno: varchar(8)) Mno is pk
    PlayIn (Ano, Mno, Pay: Integer) Ano and Mno are fk referencing Acotr and Movie respectively.
    Actor(Aname, Ano)
    A Bingo, A1
    B Castro, A2
    C Katie, A3
    S Hommy, A4
    J Tammy, A5
    K loren, A6
    Movie(Mname, Mno)
    Gladiator, M1
    Cast, M2
    Dog, M3
    Jilters, M4
    PlayIn(Ano,Mno,Pay)
    A1 M1 800
    A1 M2 1500
    A2 M2 78
    A2 M3 1750
    A2 M4 2301
    A3 M2 904
    A3 M3 629
    A4 M2 565
    A4 M3 5695
    A4 M4 1255
    A5 M1 989
    A5 M4 238
    A6 M2 137
    A6 M3 236
    A6 M4 545
    QUESTION: write SQL query to find the names of actors who earned less than 'B Castro' in each movie that 'B Castro' played in.

    thanks so so much.....
    another question:
    for each movie, list the movie number, the average
    pay and the total number of actors in the movie.....Rather than just asking homework questions and expecting everyone else to do your work for you, why don't you at least have a go at it yourself and post the query that you've tried, then we'll tell you where you are going wrong. You won't learn anything if we just write it for you.
    Also, your use of "pls help ASAP" in the subject title is not polite.
    This forum is manned by volunteers who have their own jobs and offer their help free of charge.
    Everyone who posts an issue on here would love to have it answered as soon as possible, but nobody has the right to assume that their issue is any more important, urgent or requires a quicker answer than anybody elses.
    If you need urgent help then you should pay someone to do the work for you.

  • EPMA 11.1.2.1 dimension build from FlatFile to EPMA to EssbaseASO using ODI, member sorting order issues

    We are building our EssbaseASO cube using FlatFiles which are pushed to EPMA via interface tables and then the EPMA Essbase app is deployed to Essbase, this entire job is done through a ODI interface/package. The problem I am facing is the Order in which members in EPMA appear, even though the FlatFile has the right sorting order, by the time the hierarchies arrive into the EPMA interface table the sort order is changed randomly.
    I am using the File to SQL control append IKM in ODI and some where on the way I saw a suggestion to add a new option to insert "ORDER BY" into the IKM. I successfully did this and it did change the sort order but even this is not the right order(order in which my flatfile has the dimensions).
    I can't understand why Oracle/ODI needs to randomize the rows without being asked to do so! Please let me know if anyone has faced this issue before and if they were able to resolve it.

    The EPMA interface tables have a SORTORDER column. Make sure this is populated with numeric values sequencing the order you want your members to appear in the EPMA hierarchies and when you import from the interface tables this order will be respected. Prior to this feature being introduced the workaround was to create a view referencing the interface tables imposing the required ORDER BY clause but this isn't required in 11.1.2.1 just use the SORTORDER column

  • Hyperion Planning- Account dimension - Sort Order Issue with ODI 11.1.1.5

    Hello Experts,
    First of all, I thank you everybody in this forum for posting their valuable suggestions.
    I am facing a strange issue with ODI (Version 11.1.1.5) while loading metadata to Planning ACCOUNT dimension (Version 11.1.2.x). I am using a Oracle view to load metadata to this dimension. I have defined the sort order in the view and enabled SORT_ORDER_BY_INPUT. For the fresh load to the dimension, everything is working fine. But, when I move a member from one parent to another parent, and define it as the top member of new parent, it is missing its sort order.
    But it is working fine if you define it as the second, third...or last member under new parent. I have tried all the possible ways by flipping all the properties but unable to fix it.
    Please help me here to resolve this issue.
    Your help is greatly appreciated!!
    Thanks
    Edited by: user11965311 on Sep 20, 2011 7:07 PM

    To be honest I think you are best logging it with Oracle because it sounds like you are doing everything correctly so it could be a bug.
    Have you tested this on any previous versions of ODI or is it a new installation?
    If it does get logged with Oracle please keep me informed of the outcome as I would be interested to hear.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Sort Order issue when exporting from DRM

    The sort order hierarchy (Parent/Child) in DRM is correct, and appears in the right order. When the hierarchy gets exported, some of the nodes are out of order in HFM.
    There are shared nodes in the hierarchy. There is a Custom Sort order that is set correctly for the hierarchy in DRM.There is also a Query that was created to export nodes that does not contain the word Shared.
    Ex
    DRM
    Parent 1
    Child 2700
    Child 2701
    Appears in HFM
    Parent 1
    Child 2701
    Child 2700
    The sort order is not correct in Smartview. Why would the nodes show correctly in DRM, but export out of order, and not show correctly in HFM?
    Any suggestions or comments would be greatly appreciated.

    Can you evaluate the DRM export results with the Hiearchy structure, also make sure the Default Hierarchy Sort on the Hierarchy has a value assigned to it, whether it is core or custom based on node ID, DRM should export nodes as they appear in DRM.

  • Project Server 2010 TimeSheet line classification sorting order- Issue

    Hi,
    We have PS 2010 SP-2 environment , and having few time sheet custom line classifications in order to sort them I have prefixed my custom time-sheet line with numbers like 100, 110, 115 and it is perfectly sorted in Line Classification settings under server
    settings, please see below.
    But strangely when a user creates time sheet and click insert new row then "Add an existing task" modal dialogue box shows "Standard" OOTB line classifcation on top and all custom line classifications underneath it.
    Please check below
    Don't know why it is not considering sorting order defined under "Line Classifications" settings. Same configuartion used to  work fine in PS-2007. But dont know why its not working in 2010.
    May be some silly configuration I am missing or something serious here, seriously not able to make out why this is happening.
    Please let me know, Thanks much !!!
    Sachin Vashishth MCTS

    Hey Thanks Guillaume,
    That's what I want to confirm in context of 2010. Because same configuration used to work in our 2007 environment. So want to confirm its default behavior or I have missed something in configuration.
    Any other idea do you have, like putting some java-script code in modal dialogue box to get this sorting done or any other customization.
    As of now considering "javascript" but need some pointers to get start working on this.
    Thanks much !!!
    Sachin Vashishth MCTS

  • Iphoto album sort order issue.

    Stadard iphoto album (iphoto 11) being manually sorted suddendly reverted to what appears to be a random sort order.  The order now is not by date, camera, keyword, or any other.  It appears to have set its own manual order.  How can this happen? Is there a way to revert back to the previous sort order?  Even if I had mistakenly reset the manual sort, wouldn't it default back to one of the standard sort criteria?

    want to replace the original photos in the event
    You don't have to.  If you look at the photo in the Event that tghe photo came from you'll find that it has been edited. 
    The photos in albums are only pointers to the original photo in the Event.  There's no file duplication in the process of adding a photo to an album. 
    OT

  • ITunes U Sort Order Issue

    I purchase a lot of audio courses from a company called the Teaching Company. I buy and download them as MP3's and they've worked great on all my iPods (I have a nano, a classic, and a touch 64GB). I previously kept all of the course lectures in my Audiobook section to keep them separate from my music and podcasts and other media. This was fine until I decided to purchase an Audible account and began to build up a large library of audiobooks as well. When I got my brand new 64GB iPod Touch and the new iTunes, I saw that iTunes U was now a separate entity within my library. So, for organizational purposes and to allow me to better fine-tuning of my sync preferences (I much more media than could ever fit on any of my iPods at one time), I moved all my educational and lecture media out of my Audiobooks area and into iTunes U by editing the tags through "get info".
    This has worked just fine except for one mysterious problem.
    When I view any of these audio courses (each course is an album) in iTunes, they display fine in normal sort order by track number. But when I go to listen to them on my iPod, the sort order is all jumbled up and all the tracks are out of order. So I cannot listen to the classes from one lecture to another, at the end of each lecture I must exit back to the album and FIND the next lecture. They appear to be sorted in no obvious order (not alphabetical, not by name, not by track number). Again, they are set to sort by track number in iTunes and they display (and play) perfectly straight through in iTunes. But on my iPod, the sort order is completely messed up.
    So, what's going on? Why? And how can I fix it??

    Vague789 wrote:
    Set your track numbers correctly (by right clicking, clinking 'Get Info' and clicking on the info tab), and make sure you also set the totals (e.g. 12 of 18 - the "of 18" is what I mean by the totals). This sorted it out on my iPod.
    This worked for me for my Teaching Company files. They were all jumbled previously because they took the track numbers from the default import from the internet. Once I changed it, no problem.
    It would be better if Apple allowed just a dragging, or if there was a quick tool, but at least this works.
    I had previously been using "Join Together" for stuff like this. I think I like this method better, though. I can still keep the individual lecture files on a playlist, but not have to worry about all the separate titles in a general listing.

Maybe you are looking for

  • Need to email more than 1 file at a time please help

    I bought this program so I could email 150 pictures to a Kinkos to be printed this is the only program they could open them up and now I can't figure out how to email more than one at a time is there any way for me to email more than one of these fil

  • Report Question

    I have a report with two queries: The first query is grouped into 3 cols at the top of each page. The second query retrieves detail records that are printed on one or more pages (under the 3 columns of data) depending on the amount of detail records.

  • How to convert an excel file where customers have partial access for selecting items.

    Please Advise, I have created an excel file with columns that calculates price and quantity. I need to know how my customers can access the file without seeing all my calculations, etc. and just select the number of items. I need to keep my excel for

  • IPS shows Memory usage 80 % is that normal ?

    Hi there. I have a 2 5525x configured as active/standy and bot IPS modules configured with defaults there is no internet connection to them and no traffic passing thru , but IPS show memory usage 80% is that normal ?

  • New Version of Software won't load to iPod Mini

    When I plug my mini into iTunes I'm asked if I'd like to update the software on it. I say yes and I get a message box saying "iPod updating" and a little green line goes backwards and forwards in the box while the message stays on the screen saying "