Help with using mergesort to sort a list of names alphabetically?

Hi, I'm trying to sort a list of names alphabetically, case-insensitive by using the mergesort technique.
I wrote this code and when I trace it through on paper with an example array of names, it should work, but when I run it with an actual txt file, it's not correctly alphabetical.
I'd appreciate it if someone could take a look at my code and give me some ideas on what my problem might be.
Thanks in advance! (note: I also posted this question to java-forums.org, as I've been working on this little problem for over five hours and am in desperate need of some help!)
public static void mergeSort(String[] names) 
        if (names.length >= 2) 
            String[] left = new String[names.length/2]; 
            String[] right = new String[names.length-names.length/2]; 
            for (int i = 0; i < left.length; i++) 
                left[i] = names;
for (int i = 0; i < right.length; i++)
right[i] = names[i + names.length/2];
mergeSort(left);
mergeSort(right);
merge(names, left, right);
// pre : result is empty; list1 is sorted; list2 is sorted
// post: result contains result of merging sorted lists;
// add merge method below
public static void merge(String[] names, String[] left, String[] right)
int i1 = 0;
int i2 = 0;
for (int i = 0; i < names.length; i++)
if (i2 >= right.length || (i1 < left.length && left[i1].compareToIgnoreCase(right[i1])<0))
names[i] = left[i1];
i1++;
} else
names[i] = right[i2];
i2++;

Welcome to the forum.
Please read this to learn hot to format your code (and other things relevant for this forum):
https://forums.oracle.com/forums/ann.jspa?annID=1535
923566 wrote:
Hi, I'm trying to sort a list of names alphabetically, case-insensitive by using the mergesort technique.
I wrote this codeDo you know the <tt>TreeSet</tt> class?
http://docs.oracle.com/javase/7/docs/api/java/util/TreeSet.html
With that sorting Strings is a two liner:
http://www.java2s.com/Code/Java/Collections-Data-Structure/TreeSetDemo.htm
bye
TPD

Similar Messages

  • Help With Adding Back Up of Songs & Lists on Re-Installed iTunes v 7.0.2

    I have a portable hard drive with a back up of my 10,000 songs. I have to get my Gateway PC laptop serviced as it continues to crash, and so I will need to re-install iTunes v 7.0.2 and then add back my songs from the portable hard drive.
    I need help with a couple of questions:
    1) Is there a quicker way to add the songs back on to iTunes rather than adding individual files (for songs) and individual folders (for albums)?
    2) I have several song lists (some used to make CD's). How can these lists be backed up as well so that I do not have to re-create these lists?
    Any advice very much appreciated.

    There is a good article on backup here:
    http://discussions.apple.com/thread.jspa?messageID=1522195&#1522195
    If all your music is in the iTunes Music folder and you have room, just copy the iTunes folder to your external drive.
    This will include both your music files and the iTunes library files.
    If you music is stored in other places, you need to backup those too. When you restore you need to ensure the full path name is the same.
    Life is also much easier if you can keep exactly the same account name if you reinsall windows as the account name is part of the path to My Documents.

  • Need help with using Solaris FLAR across disparate platforms

    All,
    I need help with what needs to be done to use solaris Flash for disaster recovery between the disparate Server platforms listed below.
    I am concerned about the platform specific files that would be missing?
    Note: All our servers are installed with the SUNWCprog cluster through Custom jumpstart and We use disksuite for mirroring the operating system drives.
    Primary Server     Recovery Server
    Sun Fire 6800     Sun Fire E2900
    Sun Fire E2900     Sun Fire 6800
    Sun Fire-880     Sun Fire-V440
    Sun Fire-V440     Sun Fire-880
    Sun Fire 4800     Sun Fire-880
    Sun Fire-V890     Sun Fire 4800          
    Me

    jds2n,
    Is it possible to get around installing the Entire Distribution + OEM and include only the platform specific files?
    Just a thought
    Example:
    I would like to create a Flash Archive of a E2900 server which i plan to use to recover a 6900.
    The 2900 was installed with a developer cluster.
    When creating the Flash archive of the 2900 is it possible to add the 6900 platform specific files and drivers
    from the Solaris CD?
    Thanks

  • Help with using multiple hard drives

    Is there a way to install the OS on an "external" (expresscard SSD) drive, but have all of the library and data files on the primary hard disk? I LOVE the speed on my SSD, but it's a pain finding stuff now. Is this something a RAID configuration could help with?

    mwmmartin wrote:
    I have a 1 TB hard drive; but I have a 500GB and 250GB usb external hard drives.
    Wouldn't it be cool if I could make the two external hard drives a RAID drive and use Time Machine to use all the 750GB of external memory to do my backups???
    You can, but I would +*strongly recommend against+* it. See +Concatenated RAID+ in the Help for Disk Utility.
    There are several potential problems:
    Depending on how much data is on your 1 TB drive, 750 GB may not be enough to back it up. See #1 in Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum).
    To set up a +Concatenated RAID+ set, both drives will be erased.
    When (not if) either drive fails, you'll lose all the data on both.
    Both drives must be connected any time you do a backup or want to browse your backups.
    Especially with USB, if one drive wakes from sleep, or spins up, quickly enough, but the other one doesn't, the backup may fail and/or your backups may be corrupted.
    For now, it looks like my only solution is to go buy a bigger external hard drive and spend more money,,,
    That's your best solution +*by far.+* Anything else is taking a large risk with your backups.

  • Need Help with my JSF-Project - ResultSet to List to DataTable/c:foreach

    Hello!
    I am struggeling heavily with JSF and JSTL and JSPs...
    I want to show a list of names from a database in my JSF-Document.
    I have the following bean "Category":
    package de.fh_offenburg.audiodb.webapp;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.ArrayList;
    import java.util.List;
    import javax.servlet.jsp.jstl.sql.Result;
    public class Category {
         String name = "";
         String creationDate = "";
         int id_kategorie = 0;
         ResultSet resultset;
         Result result;
         Connection con;
         String query = "";
         List result_list;
         Category() {
              result_list = new ArrayList();
              try{
                   con = new ConnectDB().connect();
                   Statement statement = con.createStatement();
                   query = "SELECT * FROM Category WHERE isUKat = '0'";
                   resultset = statement.executeQuery(query);
                   while (resultset.next()) {
                     // Get the data from the row using the column index
                     String name = resultset.getString("name");
                     // create an object for each row (yes, it is hibernate biased) ;-)
                     Cat cat = new Cat();
                     cat.setName(name);
                     cat.setId_kategorie(id_kategorie);
                     // Add the object to the list
                     result_list.add(cat);
              } catch(Exception hcat){
                   System.out.println("HCat-Problem: "+hcat.getMessage());
         public java.lang.String getCreationDate() {
              return creationDate;
         public void setCreationDate(java.lang.String creationDate) {
              this.creationDate = creationDate;
         public int getId_kategorie() {
              return id_kategorie;
         public void setId_kategorie(int id_kategorie) {
              this.id_kategorie = id_kategorie;
         public java.lang.String getName() {
              return name;
         public void setName(java.lang.String name) {
              this.name = name;
         public java.sql.ResultSet getResultset() {
              return resultset;
         public void setResult_cat(java.sql.ResultSet result_cat) {
              this.resultset = result_cat;
         public void setResult(Result result) {
              this.result = result;
         public Result getResult() {
              return result;
         public List getResult_list() {
              return result_list;
         public void setResult_list(ArrayList result_list) {
              this.result_list = result_list;
         }This Bean is registered in my faces-config.xml like this:
    <managed-bean>
      <managed-bean-name>category</managed-bean-name>
      <managed-bean-class>de.fh_offenburg.audiodb.webapp.Category</managed-bean-class>
      <managed-bean-scope>application</managed-bean-scope>
      <managed-property>
       <property-name>creationDate</property-name>
       <property-class>java.lang.String</property-class>
       <value/>
      </managed-property>
      <managed-property>
       <property-name>id_kategorie</property-name>
       <property-class>int</property-class>
       <value/>
      </managed-property>
      <managed-property>
       <property-name>name</property-name>
       <property-class>java.lang.String</property-class>
       <value/>
      </managed-property>
      <managed-property id="result">
       <property-name>result</property-name>
       <property-class>javax.servlet.jsp.jstl.sql.Result</property-class>
       <value/>
      </managed-property>
      <managed-property id="resultset">
       <property-name>resultset</property-name>
       <property-class>java.sql.ResultSet</property-class>
       <value/>
      </managed-property>
      <managed-property id="result_list">
       <property-name>result_list</property-name>
       <property-class>java.util.List</property-class>
       <value/>
      </managed-property>
    </managed-bean>Now I try to read the list of Cats out in my JSF:
                                                      <h:dataTable value="#{category.result_list}" var="result">
                                                           <h:column>
                                                                          <h:outputText value="#{result.name}" />
                                                           </h:column>
                                                      </h:dataTable>... but that doesnt work... I got an error:
    javax.servlet.ServletException: Cannot get value for expression '#{category.result_list}'
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
    root cause So what am I doing wrong?
    I did try to do the same with an JSTL-Syntax (which would be better for me, because I want to layout with DIVs not with a Table...):
                                                      <c:forEach items="#{category.result_list}" var="result">
                                                           <div class="div_mini_kat"><c:out value="#{result.name}"/></div>
                                                      </c:forEach>But that doesnt work out neigther...
    Could someone please tell me what I am doing wrong? I am trying this for days now and I am feeling like a bumble-bee in a glasshouse with one small open doorway which I dont see and thousands of m^2 to crash with...
    Thanks to everyone who answers in advance!!!
    Fuchur

    Hello!
    I am struggeling heavily with JSF and JSTL and JSPs...
    I want to show a list of names from a database in my JSF-Document.
    I have the following bean "Category":
    package de.fh_offenburg.audiodb.webapp;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.ArrayList;
    import java.util.List;
    import javax.servlet.jsp.jstl.sql.Result;
    public class Category {
         String name = "";
         String creationDate = "";
         int id_kategorie = 0;
         ResultSet resultset;
         Result result;
         Connection con;
         String query = "";
         List result_list;
         Category() {
              result_list = new ArrayList();
              try{
                   con = new ConnectDB().connect();
                   Statement statement = con.createStatement();
                   query = "SELECT * FROM Category WHERE isUKat = '0'";
                   resultset = statement.executeQuery(query);
                   while (resultset.next()) {
                     // Get the data from the row using the column index
                     String name = resultset.getString("name");
                     // create an object for each row (yes, it is hibernate biased) ;-)
                     Cat cat = new Cat();
                     cat.setName(name);
                     cat.setId_kategorie(id_kategorie);
                     // Add the object to the list
                     result_list.add(cat);
              } catch(Exception hcat){
                   System.out.println("HCat-Problem: "+hcat.getMessage());
         public java.lang.String getCreationDate() {
              return creationDate;
         public void setCreationDate(java.lang.String creationDate) {
              this.creationDate = creationDate;
         public int getId_kategorie() {
              return id_kategorie;
         public void setId_kategorie(int id_kategorie) {
              this.id_kategorie = id_kategorie;
         public java.lang.String getName() {
              return name;
         public void setName(java.lang.String name) {
              this.name = name;
         public java.sql.ResultSet getResultset() {
              return resultset;
         public void setResult_cat(java.sql.ResultSet result_cat) {
              this.resultset = result_cat;
         public void setResult(Result result) {
              this.result = result;
         public Result getResult() {
              return result;
         public List getResult_list() {
              return result_list;
         public void setResult_list(ArrayList result_list) {
              this.result_list = result_list;
         }This Bean is registered in my faces-config.xml like this:
    <managed-bean>
      <managed-bean-name>category</managed-bean-name>
      <managed-bean-class>de.fh_offenburg.audiodb.webapp.Category</managed-bean-class>
      <managed-bean-scope>application</managed-bean-scope>
      <managed-property>
       <property-name>creationDate</property-name>
       <property-class>java.lang.String</property-class>
       <value/>
      </managed-property>
      <managed-property>
       <property-name>id_kategorie</property-name>
       <property-class>int</property-class>
       <value/>
      </managed-property>
      <managed-property>
       <property-name>name</property-name>
       <property-class>java.lang.String</property-class>
       <value/>
      </managed-property>
      <managed-property id="result">
       <property-name>result</property-name>
       <property-class>javax.servlet.jsp.jstl.sql.Result</property-class>
       <value/>
      </managed-property>
      <managed-property id="resultset">
       <property-name>resultset</property-name>
       <property-class>java.sql.ResultSet</property-class>
       <value/>
      </managed-property>
      <managed-property id="result_list">
       <property-name>result_list</property-name>
       <property-class>java.util.List</property-class>
       <value/>
      </managed-property>
    </managed-bean>Now I try to read the list of Cats out in my JSF:
                                                      <h:dataTable value="#{category.result_list}" var="result">
                                                           <h:column>
                                                                          <h:outputText value="#{result.name}" />
                                                           </h:column>
                                                      </h:dataTable>... but that doesnt work... I got an error:
    javax.servlet.ServletException: Cannot get value for expression '#{category.result_list}'
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
    root cause So what am I doing wrong?
    I did try to do the same with an JSTL-Syntax (which would be better for me, because I want to layout with DIVs not with a Table...):
                                                      <c:forEach items="#{category.result_list}" var="result">
                                                           <div class="div_mini_kat"><c:out value="#{result.name}"/></div>
                                                      </c:forEach>But that doesnt work out neigther...
    Could someone please tell me what I am doing wrong? I am trying this for days now and I am feeling like a bumble-bee in a glasshouse with one small open doorway which I dont see and thousands of m^2 to crash with...
    Thanks to everyone who answers in advance!!!
    Fuchur

  • Need help with using Email Activation Agent

    Hi,
    please, help me with using E-mail Activation Agent.
    I used email activation agent to start business processes by email, but after that letter disappear from email-server.
    Where letter was located?
    Can I get and read letter for processing?

    Mail/Preferences/General - do you have Unibox set as your default e-mail application?

  • Help with using a web page from disk after saved from web

    Hi, I almost forgot the little I learned about web page development, so, I'm a total noob when it comes to this and I need your help.
    I saved as a complete web page on my hard disk this web page but when I open it in Firefox or IE, it doesn't display as much as I need it. I'm mostly interested  in displaying the logo images as they appear on the original web page. The browsers just show them briefly when refreshing but hide them right away. I can see the image files downloaded to my hard drive and if I open the page in Dreamweaver it displays these images  in the preview pane but I can't make them show in the browsers. From Dreamweaver I saved the page as in the folder where the images are and this also updated the code with the relative image links but the browsers still don't show them.
    I will greatly appreciate your help with this.

    I'm sorry, but your post is very confusing
    I saved as a complete web page on my hard disk this web page
    Does this include site definitions?
    when I open it in Firefox or IE, it doesn't display as much as I need it.
    I dont know what this means...are there images that are not being displayed?  Is there styling that is not being rendered?
    . I'm mostly interested  in displaying the logo images as they appear on the original web page. The browsers just show them briefly when refreshing but hide them right away.
    Again, I dont know what this means?
    I can see the image files downloaded to my hard drive and if I open the page in Dreamweaver it displays these images  in the preview pane but I can't make them show in the browsers. From Dreamweaver I saved the page as in the folder where the images are and this also updated the code with the relative image links but the browsers still don't show them.I will greatly appreciate your help with this.
    Do you have a link to the page, and perhaps some explanation that is more clear as to what your issue is.
    Gary

  • What technology to use to store a huge list of name-value pairs?

    Hi:
    I have a list of name value pairs (the size of the list is ~500). I get the name from the request parameter, and depending on the value for that, I have to display images on my webpage.
    How should I go about this? Should I use a Hashtable to store the values or should I use an array or should I got for XML and some pattern matching or should I write to a text file and do some pattern matching?
    Please help.
    Thanks

    Did you mean huge (several million) or is 500 more like the number? For "huge" you use a database. For 500, if you want to access the value when you are given the name, you use a Map. Probably a HashMap would be best.

  • Please help with natural mergesort

    I admit this is homework but I have spent so much time trying to figure this out and can't get a answer any where on the web or in my books,teacher etc.
    Problem:
    I need to write a natural Mergesort
    Best case:O(n)
    worst case:O(nlogn)
    If you are not aware of natural Mergesort this is how it works.
    You scan through an array to discover already sorted chunks you then would store there offsets in a new array.
    Like mergesort you want to keep cutting the array in half (with recurrsion) until you are left with two just two elements to merge back together, after they are merged they return to be merged with what called them and so on until the array is sorted.
    In mergesort you are dealing with actual values, where as I am dealing with offsets to be that need to be merged.
    I am so confused
    public void sort(Comparable[] a)
    //make sure index array is big enough
    int [] indexBuffer=new int[a.length];
    int pIndexBuffer=1;
    int Index=0;
    indexBuffer[0]=0;
    while(Index<a.length-1)
         if(a[Index].compareTo(a[Index+1])<0)
              Index++;
         else{
              indexBuffer[pIndexBuffer]=Index+1;
              pIndexBuffer++;
              Index++;
    //copy array with a better fit
    //do not have to delete old array
    //because of java's garbage collection 
    int [] IndexBuffer=new int[pIndexBuffer];
    for (int i=0;i<IndexBuffer.length;i++)
         IndexBuffer=indexBuffer[i];
         System.out.println(IndexBuffer[i]);
    nmsort(a,IndexBuffer, 0, IndexBuffer.length-1);
    public void nmsort(Comparable [] a,int [] indexBuffer, int first, int last)
         if(first<last)
              int mid=first+((last-first)/2);
              nmsort(a, indexBuffer, first, mid);
              nmsort(a, indexBuffer, mid+1, last);     
              merge(a, indexBuffer, first, mid, last);
    private void merge(Comparable []a, int [] indexBuffer, int first,int mid,int last)
    //This is where I am having trouble
    This is written in java, and I am not used to the language yet not having pointers seems strange.
    So my problem comes to how do I write merge I have tried dozens of things but nothing has yet to work.
    In case you would like to see a regular MergeSort here it is:
    public void sort(Comparable[] a) 
      nmsort(a, 0, a.length - 1);  
    public void nmsort(Comparable[] a, int left, int right)    {     
    if (left < right)   
    int mid = left + ((right - left) / 2);                        nmsort(a, left, mid);        
    nmsort(a, mid + 1, right);           
    merge(a, left, mid + 1, right);       
    private void merge(Comparable[] a, int left, int mid, int right)  
    Comparable[] tmpArray = new Comparable[a.length];  
    int leftEnd = mid - 1;  
    int tmpPos = 0;    
    int left0 = left;   
    while ((left <= leftEnd) && (mid <= right))       
    if (a[left].compareTo(a[mid]) < 0)  
                 tmpArray[tmpPos++] = a[left++];
    else             
      tmpArray[tmpPos++] = a[mid++];
    while (left <= leftEnd)
       tmpArray[tmpPos++] = a[left++];   
    while (mid <= right)          
    tmpArray[tmpPos++] = a[mid++];      
    for (int i = 0; i < tmpPos; i++)     
          a[left0 + i] = tmpArray;
    Thanks for all your help
    -Marc                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    If you can't figure out how to do this with reccursion(Divide and Conquer) I am willing to try it another way as long as the big oh is right.
    thanks again

  • Help with Create Folders and Sort Applescript

    Hi guys! I'm sure this is an easy fix but I can't seem to find the right things to add to to this script. I am using a script that Jacques Rioux kindly helped me out with a couple days ago. I altered his script a little to complete a different task I needed to create a shortcut for. The script below first creates two folders (TIFF & JPEG) and then it sorts files with an extension .tif into the 'TIFF' folder and files with the extension .jpg into the folder named 'JPEG'. This works great but I would like the script to effect multiple folders. Can anyone help me add to the script so when you click it, a prompt will pop up allowing you to choose multiple folders to apply the script too? As of now it will only work on one folder at a time. I would greatly greatly apprecaite the help. Thanks!!
    try
              tell application "Finder" to set targetFolder to (target of the front Finder window) as string
    on error -- no window
    end try
    do shell script "cd " & (quoted form of POSIX path of targetFolder) & "; mkdir -p TIFF/ JPEG/"
    tell application "Finder"
              move (every file of folder targetFolder whose name extension is in {"tif"}) to folder "TIFF" of folder targetFolder
              move (every file of folder targetFolder whose name extension is "jpg") to folder "JPEG" of folder targetFolder
    end tell
    Best,
    Anthony

    All you need to do is choose multiple folders (instead of just getting the target of the front Finder window), then repeat through the list of chosen folders, for example:
    set targetFolders to (choose folder with multiple selections allowed)
    repeat with aFolder in targetFolders
       do shell script "cd " & (quoted form of POSIX path of aFolder) & "; mkdir -p TIFF/ JPEG/"
       tell application "Finder"
          move (every file of aFolder whose name extension is in {"tif"}) to folder "TIFF" of aFolder
          move (every file of aFolder whose name extension is "jpg") to folder "JPEG" of aFolder
       end tell
    end repeat

  • Help with iTunes/iOS Album Sort

    We all know the Music.app since iOS 7 (for most of us) as been a disaster. Due to the expanded view of the albums for artist, it's a PITA for people whom have artist with even 3 or 4 plus albums. For me, I love E-40 and have 16 of his albums.
    My concern is the organization of the albums he's released since 2012, on my iPhone (top to bottom in the music app) it's organized like this (and it drive's me crazy). I have included the release date of the albums but it's not actually in the album title, it's just for reference.
    The Block Brochure: Welcome to the Soil 4 (2013-12-10)
    The Block Brochure: Welcome to the Soil 5 (2013-12-10)
    The Block Brochure: Welcome to the Soil 6 (2013-12-10)
    History: Function Music (with Too Short) (2012-11-06)
    History: Mob Music (with Too Short) (2012-11-06)
    The Block Brochure: Welcome to the Soil 1 (2012-03-26)
    The Block Brochure: Welcome to the Soil 2 (2012-03-26)
    The Block Brochure: Welcome to the Soil 3 (2012-03-26)
    But I want it to be organized like this,
    The Block Brochure: Welcome to the Soil 1 (2012-03-26)
    The Block Brochure: Welcome to the Soil 2 (2012-03-26)
    The Block Brochure: Welcome to the Soil 3 (2012-03-26)
    The Block Brochure: Welcome to the Soil 4 (2013-12-10)
    The Block Brochure: Welcome to the Soil 5 (2013-12-10)
    The Block Brochure: Welcome to the Soil 6 (2013-12-10)
    History: Function Music (with Too Short) (2012-11-06)
    History: Mob Music (with Too Short) (2012-11-06)
    or even like this, which might make or sense.
    The Block Brochure: Welcome to the Soil 6 (2013-12-10)
    The Block Brochure: Welcome to the Soil 5 (2013-12-10)
    The Block Brochure: Welcome to the Soil 4 (2013-12-10)
    The Block Brochure: Welcome to the Soil 3 (2012-03-26)
    The Block Brochure: Welcome to the Soil 2 (2012-03-26)
    The Block Brochure: Welcome to the Soil 1 (2012-03-26)
    History: Function Music (with Too Short) (2012-11-06)
    History: Mob Music (with Too Short) (2012-11-06)
    Here is a horizontal screenshot how how it looks on my phone. Any help on how to correct this would be very much appreciated. I know I have to change some info in the SORT ALBUM column, but I don't know what to use to sort it properly.

    So I noticed that when I go to the ALBUMS tab in the music.app its organized properly with NO changes what-so-ever.
    But when I use the GENRES tab or ARTIST tab it's organizing by Year then Title  in reverse chronological order. I have no clue how to get the albums to appear in this order while in the GENRES tab or ARTIST tab:
    The Block Brochure: Welcome to the Soil 1 (2012-03-26)
    The Block Brochure: Welcome to the Soil 2 (2012-03-26)
    The Block Brochure: Welcome to the Soil 3 (2012-03-26)
    The Block Brochure: Welcome to the Soil 4 (2013-12-10)
    The Block Brochure: Welcome to the Soil 5 (2013-12-10)
    The Block Brochure: Welcome to the Soil 6 (2013-12-10)
    History: Function Music (with Too Short) (2012-11-06)
    History: Mob Music (with Too Short) (2012-11-06)

  • Action script.. help with using components

    i need help using the list component for my text in animation. i want the component to allow viewers to scroll and view text.

    this is the situation.
    i am making a photography website.
    in the text area would be the names of photoshoots in which customers and viewers can scroll through the names.
    my ultimate goal is to have a hover image and the text with background appears beside the picture when the picture is hovered over.to help i have added pictures. picture a when it is hovered over has a gallery list that pops up beside it. this can be seen in the image below where the green background displays a list of gallery photoshoots. as you can see the white scrollbar is so the viewers can scroll down and view the other names. i amusing dreamweaver for my webpage and adobe flash for my list animation. i welcome all suggestions and ideas to this problem thank you

  • Help with Use of Time Machine

    Hi All.
    I am not having fun trying to recover mission critical data with Time Machine and I am wondering if I ever understood how this works.
    I can only apparently go back by hitting the <- and -> arrows to "Today at 11:50 AM"??
    I /can/ see the little sidebar lines go back to July 2011 but when the line gets fat clicking on it does not do anything.
    I back up a 1 TB MacPro and a 250 GB MBP to a 2TB TC and I am wondering if I need to download some software - similar in ease of use to Omni Disk Sweeper - in order for me to get a handle on what is going on.
    These files go back before Today at Noon and I am thinking it is a very good time for me to figure out if I actually know how to use this Time Machine/Capsule.
    Thanks for any help and I have read Pondini's great stuff but if anyone can just verbally walk me through this a little I'd be greatful.
    Thanks.

    By <- and -> arrows, do you mean the oblique arrows between the Time Machine Finder window the the time line on the right?  It can take a long time for Time Machine to respond to clicks on those arrorws, particularly if you're connected to your Time Capsule via Wi-Fi.  Try giving it several minutes.
    If that doesn't help, check back.  There's another way to retrieve files (as opposed to things like Mail messages) from Time Machine.
    In the future, since your problem involves Time Machine, a message of this sort would be better posted in the section for your Mac OS X version.
    By the way, you don't seem to have declared any of your system details in your profile.  Those can help people give you correct advice.  To update that, click on "My Stuff" near the top of a window on these discussion groups, then on "Profile".  Scroll down to "My Products" and either edit an existing one or add a new one.

  • Help with using Iphone with NEW computer

    I have a new computer and want to use my iphone with it. I dont have any songs on the new one and cannot transfer them however i can eventually rebuild my song list. What i want to know is when i sync my iphone to my new computer i no that means it will put whatevers in my library on it but when it comes to settings, applications, photos, sms messages what happens with those, will it just erase everything? Im just a little confused with everything.
    Help would be much appreciated! :-D thanks

    Yep... everything will be gone because the computer will think it's a new iPhone.
    You can download the applications from the AppStore again for free, but your music will be lost. Consider using an application like ifunbox to copy the music from your iPhone to the PC before installing iTunes.

  • Help with using external monitor on MacBook

    I have a white MacBook 2.1 running 10.5.8. I use to have it run a Samsung LCD 19" which had a 1280x1024 native res, which was available in the screen prefs. That broke, so now I was going to go bigger with a 24". I've forgoten how this works, but I see the specs show this book should do a max of 1920x1200 on an external monitor. However, I don't see that listed as an option in the prefs. Will that be listed if I hook up a monitor capable of that? Also... Most 24" monitors seem to be native 1920x1080. I want to run at the native res of the monitor and not have to do any stretching or anything. Do I need to find a monitor that has a native res of 1920x1200 to match the book's max res? Or will the 1920x1080 work somehow without stretching. I have the mini DVI to DVI adapter, so I assume I should be set for any monitor sold new now.
    Thanks for any help. FYI... Don't buy Samsung... 3 1/2 years on an LCD is rediculous.

    Hi Dave,
    Yes, the available resolutions will show when you hook up an external display.
    Depending on the resolutions availabe on a given display, you may or may not be able to run it without stretching (or black bars) at native resolution (most likely you'll be able to).

Maybe you are looking for

  • Unable to import Mac address book

    I am unable to import my Mac Address Book into Thunderbird. In thunderbird, I have gone to tools>import>address book>text file . Address Book is not highlighted, so I am not able to choose it. I have also tried to export it from Address Book. In Addr

  • Installing Oralce 8i on Win. XP

    Hello World, Could someone please let me know if I can install Oracle 8i on Windows XP Home Edition. Many thanks. Emmanuel.

  • Decryption of Blowfish key

    All, I have a Blowfish key that was originally generated elsewhere, I assume with PHP. I need to use this key like so: 1. Do mysql query from db for username and password. 2. Decrypt username and password. I am new to encryption. Not sure of a key is

  • Restore hot online backup without redolog file

    Dear I had taken a online backup (begin / end tablespace) of all datafiles. Before end backup I had taken backup of current controlfile with O/S command. Now, I want to restore this backup. I have only : datafiles (taken with begin / end backup) cont

  • How to continue Online-Update?

    One year ago I oderdered SJDS, installed it and was able to do an online update with the serial-number of my media-kit. Now I 'm never allowed to do an update. I get the message "invalid serialnumber". Of course I need a continuation of my licence, A