Numbers not sorting date/time correctly

I would be grateful if someone can chime in - it's very simple thing and maybe I'm overlooking something.
I have 3 columns:
DATE - DESCRIPTION - TIME
I need to sort them out by date, then by time.
It works only for date cells - upon inspection I have noticed that time cells have creation date stamp as well which messes sorting up.
Any suggestions ?
Sorting like this works fine in Excel.

Hi Alex,
As has been stated (or implied) above, every every date and/or time displayed in Numbers is a Date and Time value marking a specific instant in time.
Values that have been entered as date only (eg. October 1, 2012) mark the instant that day begins (eg. October 1, 2012 00:00:00).
Values that have been entered as time only mark that instant on the day on which the entry was made (or in cases such as pop-up menu items, the day on which the item was created as a menu item).
Values that have been entered as full Date and Time values mark the date and time that was entered.
Here are three possible approaches to sorting your table 'correctly':
Enter the Date and Time as a single and complete Date and time value (see example above), using a single column for these entries.
OR
Add a column containing a formula that extracts the time value from the Date and Time values in column C of your example table, then do the two-stage sort on your Date column then the new column as described in your initial post. See example below.
Before sorting:
After sorting (as indicated in Reorganize pane):
OR
Format your "Time" column as Text. Enter all "Time"s in 24 hour format (00:00 to 23:59), and use the two-stage sort you describe.
Each of these will sort correctly using Numbers as it is supplied. Should you think Numbers shoud stop supporting ISO 8601, the International Standard for the representation of dates and times, the most effective place to make that recommendation would be via the Feedback channel. Use the Provide Numbers Feedback menu item in the Numbers menu (in Numbers) to request this change.
Regards,
Barry
Regards,
Barry

Similar Messages

  • Numbers Not sorting correctly?

    I am trying to sort on a field that has both alpha and numeric characters.
    ergo: I expected a sort to give me
    1a
    1b
    1c
    1d
    1e
    1f
    1h
    1i
    2a
    but received a sort of:
    1h
    1d
    1a
    1b
    1c
    1e
    1f
    1i
    2a
    Justifying the field left or right makes no difference
    if I insert a hyphen between as in 1-a 1-b etc it sorts as expected.
    I also tried inserting a decimal between instead of the hyphen ergo 1.a etc but  when I did that as in (1.h) Numbers (automagically) removed the decimal (same with 1.d)
    Any ideas?  Bug? (An Inverse Semi Hex Sort With Left hand English?)
    Thanks

    Hi C,
    Interesting spelling of your username. I'd always associated this type with dogs, not with hearts.
    I think you may have discovered a bug (or perhaps more accurately  generously, an artifact—an overlooked effect of automation).
    On copying your (sorted) list, pasting it in (column B), randomizing it, then resorting in ascending order, I got the same results you did.
    When I typed a copy of the list into column A and sorted it, I got the same results again.
    Column C is a list of random numbers, generated by formula, and offering a column on wdich to randomize the sort of the table.
    Columns D and E contain the formulas below, which pick off the first and last characters of the pair in column B, then rejoin them, in one case placing a period/full stop/decimal point between them, in the other, simply concatenating them into a two character text string.
    Sorting on either of columns D and E produced the expected sort:
    A light was beginning to glow. Entered directly, or by copy/paste, into an unformatted column, the items sorted 'incorrectly'. Reformed into text strings, with or without a constant intervening character, they sorted as expected.
    One further test: Column F was added, preformatted as Text, and the values entered into it. The table was randomized (sorted on column C), the re sorted on column F, with the expected ('correct') results.
    One more check. I selected column B, where the original list had been pasted, and set the formatting to Automatic:
    AHA!
    Text is automatically aligned to the left side of cells. The two misbehaving items were not being interpreted as text, but as a numeric or quasi numeric value.
    Numbers sees both of these as duration values—1d = one day, 1h = one hour.
    Sorted in ascending order, one hour is less than, and comes before one day, and all numerical and quasi numerical values come before alphabetical (text) values.
    Numbers is sorting the list correctly, using its interpretation of each value. To make it sort correctly in our view, you'll need to force numbers to see those values as text, most easily done by formatting the column as text before typing or before pasting, using Paste and Match Format, in the Edit menu.
    Thanks for that question; it was an interesting one.
    Regards,
    Barry

  • [svn:fx-3.x] 10418: ScrollBar was not resetting the timer correctly

    Revision: 10418
    Author:   [email protected]
    Date:     2009-09-18 15:36:11 -0700 (Fri, 18 Sep 2009)
    Log Message:
    ScrollBar was not resetting the timer correctly
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-21968
    Reviewer: Corey
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DataGrid
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21968
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollB ar.as

    Yes my particular issue is not like yours. However, there have been many other laptop users experiencing similar problem to yours after 3.10 kernel. Mostly it seems to be bumblebee users that experience your problem with the blank screen. We do know that nvidia have yet to make their official drivers work with kernel 3.10 and up. The drivers in the Arch repository have been patched to work with 3.10. From what I have seen, this also only seem to be affecting laptops with newer nvidia gpu's. I fear there is not much to do with this problem until nvidia give official 3.10 kernel support.
    My suggestion would be to stick with 3.9.9 kernel and the drivers that work with it, and don't upgrade those packages until nvidia has addressed these issues. If you have a look at the nvidia forums you will see quite a number of topics mentioning black screen when starting x on 3.10 kernel, and also a thread for the system dying. Reading some of the threads there may help you keep up to date on whether or not the issue seem to be solved.
    https://devtalk.nvidia.com/default/board/98/

  • SSRS report not displaying data in correct order

    Guys,
    I have a SSRS 2012 report not displaying returned records from SQL in the correct order.  Running the stored procedure in SSMS and supplying the parameter values returns the data correctly and running Query Designer in SSRS using the stored procedure
    on the dataset in question, likewise returns the data correctly.  Only when I run the actual report does the data display incorrectly(always last name order).  I've done similar reporting using very similar stored procedures and I've never had this
    problem.  Below is the stored procedure.  "@SortBy" is the parameter with the sorting value. 1=Due Date; 2=Denial Amt and 3=Last name and is passed by SSRS to SQL.  Wish I could supply screen shots.  
    Thanks for any help,
    Dave
    ALTER PROCEDURE [dbo].[RAC_PT_List]
    @Level as int,
    @SortBy as int,
    @PTLName as varchar(30) = NULL,
    @User as varchar(10) = NULL
    AS
    SELECT pat.headerID,
    pat.PT_LName + ', ' + pat.PT_FName AS PTName,
    pat.PT_AcctNo,
    rco.RCO_CLMREF,
    rco.RCO_AppealLevel,
    rco.RCO_LevelNo,
    rco.RCO_AuditorStatus,
    let.LET_DEN_DueDate,
    CONVERT(varchar(12),let.LET_DEN_DueDate) as DueDate,
    let.LET_DEN_Dollars,
    let.userID
    FROM Master_PT_List pat
    INNER JOIN Master_RCO_Work rco on RCO.PT_headerID = pat.headerID
    INNER JOIN Master_Letters let on LET.PT_headerID = pat.headerID
    WHERE (@PTLName IS NULL OR(pat.PT_LName LIKE + '%' + @PTLName + '%'))
    AND (rco.RCO_LevelNo = @Level)
    AND (let.userID = @User)
    --AND (rco.RCO_AuditorStatus <> 'Closed' and rco.RCO_AdminStatus <> 'Closed')
    ORDER BY 
    CASE WHEN @SortBy = '1' THEN LET_DEN_DueDate
    END
    DESC,
    CASE WHEN @SortBy = '2' THEN let.LET_DEN_Dollars
    END
    DESC,
    CASE WHEN @SortBy = '3' THEN pat.PT_LName
    END

    Hi DaveMac1960,
    According to your description, when you render data in report, you find it always shows the data with unexpected order. Right?
    In Reporting Services, if we don't set any sorting in tablix, it will order the data as your query in SSMS or Query Builder. In some scenario, for example, we add parent group for data rows, it will have the rows sort by the group on data field by default,
    and the "order by" in your query will be ignored. So please check the Sorting tab in Tablix Properties, in this scenario, we suggest you delete any sorting in the Sorting tab so that the "Order By" clause can work.
    Reference:
    Sort Data in a Data Region (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • 5800 does not retain date&time stamp for SMS trans...

    I just got a new 5800XM a week ago.  I upgraded from a Samsung SGH-C260.  When I tried to copy the SMS messages off my SIM and on to the Nokia, all the date and time information of the original messages was lost.  I tried the SIM in a new Samsung Star and it was able to read the date and time information without trouble, so obviously the information is there and readable.
    Does anyone know of a way to successfully transfer these SMS messages without losing the date and time information?
    Thanks!

    Paresh - my understanding of the original post is that when she does show startup-config that no date is there. There is an explanation for this.
    Narayan - the service timestamps is a good command and I agree that specifying datetime is better than the default of displaying uptime. But this command does not have anything to do with the date in the config file.
    What does control the presence (or absence in this case) is whether the router has authoritative time at the time the config was changed or saved. The router can have authoritative time by use of the clock set command or by use of NTP. I believe that NTP is a much better solution.
    So if the router really knows correct time it will put the time stamp into the config. And if the router does not know correct time it will supress the time stamp. From the fact that the startup config does not have a time stamp we can believe that the router did not know authoritative time when the config was saved. And I do not know any good way to go back and discover it.
    HTH
    Rick

  • My Podcast in iTunes not showing Date, Time, Description.

    Hello
    I recorded my Podcast through GB Exported to Disk>Desktop> Then I used Rapidweaver I guess to publish it. but when iTunes receives the Podcast for some reason Date, Time and Episode Description is missing. newbie thanks in advance.

    None of your episodes have playable media: it's necessary for each episode to have an 'enclosure' tag containing the URL of a media file - mp3. m4a, mp4, m4v, or mov - without this iTunes will not display the episodes. You say it was working before, so something has been done to the feed to change it.
    Following the link from the top episode:
    http://expertenough.com/1123/18-expert-quotes
    produces what is basically a weblog entry with no sign of any media.

  • "Show logging" displays the switch UP time not the Date & time

    Hi,
    i have cisco 2950 switch, when i type the show logging, what ever event has happend i am getting like this "26w6d: %LINK-3-UPDOWN: Interface FastEthernet0/24, changed state to down" but it is not showing the date & time when the event has occured, so every time i need to check the show version & have to see the switch up time & then i need to calculate. is there any configuration has to be done where i should get the information of the date & time in place of switch up time eg. like this...
    "Sep4 4:15: %LINK-3-UPDOWN: Interface FastEthernet0/24, changed state to down"

    what you could do is to enable timestamping if not already done so.
    2950(config)# service timestamp debug datetime msec
    2950(config)# service timestamp log datetime msec
    or you can use SNMP to provide traps of the 'events' that occur on the device.
    these SNMP traps will provide the date, time and trap.
    what version IOS on that device? have you enabled timestamping? have you upgrade lately? perhaps an upgrade could be of assistance. i'll verify the operation on some 2950s i have to confirm if i have the same issue or not and what version is being used. i'll post the result when available.

  • Cmos battery c55d-b5219 not holding date/time

    my cmos battery in the satellite c55d-b5219 is not holding the date/time.. cmos batterys are supposed to last for 10 years, not 8 months... does anyone have any troubleshooting things i can do?  i already ran a bios update and all the updates for ms are current.. suggestions???

    If you can't solve your issue and no one in the community can help, contact support to speak with a tech support agent at (800) 457-7777.

  • ITunes not showing Date, Time or Episode Description??

    Hello
    I recorded my Podcast through GB Exported to Disk>Desktop> Then I used Rapidweaver I guess to publish it. but when iTunes receives the Podcast for some reason Date, Time and Episode Description is missing. should I use Feedburner instead. newbie thanks in advance.

    I am having the same problem, did you have get this issue resolved?

  • Finder dosn't sort by time correctly

    I decided after a long time to upgrade to mavericks from snow leopard. Apart from some issues it works pretty well. However one issue is really annoying. When I choose to sort by "date" it only groups the files in "today" "yestarday" and so on. Finder does not take the individual time into consideration. So for example, a file from 18:33 can be shown as before a file from 13:37. Why can't finder sort the files completly?!
    Sincerely Henrik

    Hi HenrikNord,
    You may be able to arrange the files more to your liking by adjusting the settings in Item Arrangement button (Mavericks has both a Sort and Arrange option). You may find the following articles helpful:
    OS X Mavericks: Organize your files in the Finder
    http://support.apple.com/kb/PH13984
    OS X Mavericks: Choose options for viewing items in Finder windows
    http://support.apple.com/kb/PH13896
    Regards,
    - Brenden

  • Content Search not sorting User fields correctly

    Hi All and Merry Christmas.  Before I leave for the holidays I want to get this question in and hope someone has an answer.
    I have a content type with a Person Field called Project Manager.  This is a pretty ordinary field, users only, not groups, single person only, not multiple people, and the managed property has been tagged as Sortable.  I access the data with this
    column in a Content Search Web Part and sort on the column and the names don't come up in order.  If I sort descending, the order is reversed from the Ascending, but both ascending and descending are not in alphabetical order.
    I tried this in both our Test and Prod environments and the results are the same.
    I created a new Person field from scratch, populated it with the same people, crawled the site and got the crawled and managed properties, made sure the managed property was searchable, queryable, and sortable, ran the full crawl again, and it gives the
    same wrong results as the original column.
    I am going nuts trying to figure out what is wrong.
    I created a gerneric CSWP using the List control template and the Diagnostic item template, and put the name property in one of the lines.  In the query I set the Sort to this property.  I can think of no reason this won't work.  The results
    I get with the property in Ascending order is:
    1. David I...
    2. Dayle W...
    3. Jorge D...
    4. Joe V...
    5. Tom Y... (again!)
    6. Betrina C...
    7. Louis S...
    8. Tom L...
    9. Tim W...
    Here is a paste of what I see (wit last name changed to protect identities):
    Line 2:
    Value:
    David I...
    Mapped managed property:
    ProjManagerOWSUSER
    Property mappings:
    ProjManagerOWSUSER
    I will be gone for the holidays but if anyone knows what is going on, please respond. Thanks.

    Hi Tom,
    For your issue, could you retrieve values of the ProjManagerOWSUSER managed property using SharePoint Search REST API? For  example:
    http://sp/_api/search/query?querytext=’*’&selectproperties=’ProjManagerOWSUSER’ 
    For more information, you can have a look at the blog:
    http://www.sharepointalex.co.uk/index.php/2013/01/retrieving-values-of-managed-properties-in-sharepoint-2013-search-rest-api/
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • Numbers Not Sorting

    Greetings,
    My wife created a table in Numbers '09 and is now unable to resort the table. The options to sort are grayed out. I've looked through the forums and I see that the major reason for this is merged or split cells, but I don't seem to see any in the table. I have saved just the table in a separate file and posted it to my dropbox. Can I trouble someone to take a look and see if anyone can find the problem? You can download the file at:
    http://dl.dropbox.com/u/894146/Breeding%20Records.numbers
    Thanks for your help.

    Hi Barry
    Not my eyes but Numbers itself.
    I planned to sort the table.
    To be able to recover the original state easily, I added a column
    inserted 1 in it's first cell,
    2 in the 2nd one
    and tried to apply fill down with the circula handle.
    All was OK until I reached row 40.
    Impossible n'est pas Français but Numbers was unable to fill cell 41.
    So, I moved to the left of the table just for se and bingo, I saw two header cells in front of a single cell.
    Eureka !.
    Yvan KOENIG (VALLAURIS, France) lundi 3 mai 2010 21:03:33

  • Itunes 11.1.5 not sorting album tracks correctly?

    I just imported this album, yet for some reason it's showing tracks 13, 14, 15 before the rest of the album and it's doing this when I view it via Songs, Artist or Album. Any idea why?

    You have to use the camera icon in the editor window to post images.
    Steve MacGuire a.k.a. turingtest2 - iTunes & iPod Hints & Tips - Grouping Tracks Into Albums - http://www.samsoft.org.uk/iTunes/grouping.asp (older post on Apple Discussions http://discussions.apple.com/message/9910895)

  • How can I display date+time and not the point number in excell?

    Hi everyone,
    Could anybody tell me how I can save date + time to a file, so that  I can display on a diagram(excel) : date+time in (ox) and data (oy)? :
    My program sets in (ox) the point number and not the date+time....( although  date and time are written correctly in the column...)
    Any help would be great,
    Thanks,
    regards,
    Marc

    hi there,
    excel uses 01.01.1900 00:00 as the time offset, LabVIEW uses 01.01.1904 02:00, so you can't display the correct datetime in excel when you write the time as a fractional number of seconds from LabVIEW. you must format the datetime in LabVIEW to a string and write that to the column. use the "Format Date/Time String" - function and for example "%d.%m.%Y %H:%M:%S%3u" as the format string (see the functions help for more examples). you also could format your data to a string using "Format Into String" - function and write the file as a 2D string array. the decimal point you have to use depends on your system and its settings, but you can specify the decimal point in the Format string like "%.;%f" (means fractional number with point as decimal point).
    best regards
    chris 
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Uploaded photos to iCloud photo library are not sorted by their date

    I have uploaded some photos from my digital camera memory card and they show up under "Today" with the upload time, and not the date time of the picture:
    Create Date                     : 2014:12:27 15:08:50
    I would have expected the uploaded picture to be sorted by Moments in December 27, 2014 set of pictures.
    Is there a way to have iCloud photo library put the photo in the right "Moment"?
    Thanks,

    No

Maybe you are looking for