Index sort order with underscore (_)
Hi.
According to the documentation, the default sort order for indexes is <$symbols><$numbers><$alphabetics> with hyphens, nonbreaking hyphens, en dashes, and em dashes ignored by default. Nothing about underscores, so they should be sorted on first, right? But they are not in my document. Example:
PaymentModule_Order_Head
PaymentModule_OrderPayment_Capture
PaymentModule_Order_Tabs
What I want to see is:
PaymentModule_Order_Head
PaymentModule_Order_Tabs
PaymentModule_OrderPayment_Capture
Is there an easy way to fix this so underscores have precedence over alphabetics? I've tried rearranging the building blocks every which way but nothing seems to work.
> ... going through thousands of index entries and adding the sort order text.
That could be scripted, using dedicated Frame scripting tools, or, with MIF, ordinary text processing tools. Someone may even have done it already.
In MIF, it would "merely" be a matter of first batch converting all:
<MTypeName `Index'>
<MText `what appears in Index'>
pairs to:
<MTypeName `Index'>
<MText `what appears in Index[M00what appears in Index]'>
then hand edit only the Markers of the outliers to change the arbitrary "M00" prefix to whatever is needed to optimize the sort rank.
> FrameMaker is not behaving has doc'd here.
You have documentation for FrameMaker?
Why wasn't I told about this?
Similar Messages
-
Toggle Finder sort order with AppleScript under Lion 10.7?
For years I've been using this AppleScript to toggle the sort order of a Finder window:
if sort direction of column id size column of list view options of window 1 is normal then
set sort direction of column id size column of list view options of window 1 to reversed
else
set sort direction of column id size column of list view options of window 1 to normal
end if
(You can replace size with kind, name, modification date, etc.)
But ever since Lion, this no longer works!
The little arrow in the column header DOES change, but the items do not re-sort.
Any way to get this working?Why not just click on the columns?
-
Different sort order with line chart and stacked column chart
Hi,
I have a problem with sorting within flash charts.
The chart should be ordered by a date column.
If I'm using a line chart everything is fine. The columns in the chart are in the same order as returned by the query.
If I change the chart type to stacked column chart, I get a wrong order.
It is orderd like 5, 6, 7, 8, 9, 10, 1, 2, 3, 4.
What's wrong?
Here the query i use:
SELECT NULL AS link,
TO_CHAR (zeitpunkt, 'dd.mm.yyyy'),
MAX (DECODE (db_sid, 'TI06E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06E",
MAX (DECODE (db_sid, 'TI06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06T",
MAX (DECODE (db_sid, 'TI14S', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14S",
MAX (DECODE (db_sid, 'TI14T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14T",
MAX (DECODE (db_sid, 'TI16T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI16T",
MAX (DECODE (db_sid, 'TI24K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI24K",
MAX (DECODE (db_sid, 'TI33T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI33T",
MAX (DECODE (db_sid, 'WF03E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03E",
MAX (DECODE (db_sid, 'WF03K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03K",
MAX (DECODE (db_sid, 'WF03T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03T",
MAX (DECODE (db_sid, 'WF05K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05K",
MAX (DECODE (db_sid, 'WF05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05T",
MAX (DECODE (db_sid, 'WF06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF06T",
MAX (DECODE (db_sid, 'WF07K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07K",
MAX (DECODE (db_sid, 'WF07T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07T",
MAX (DECODE (db_sid, 'WF08K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08K",
MAX (DECODE (db_sid, 'WF08T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08T",
MAX (DECODE (db_sid, 'WF09K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09K",
MAX (DECODE (db_sid, 'WF09T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09T",
MAX (DECODE (db_sid, 'WF10K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10K",
MAX (DECODE (db_sid, 'WF10T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10T",
MAX (DECODE (db_sid, 'WG04T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WG04T",
MAX (DECODE (db_sid, 'WT05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WT05T"
FROM db_performance_temp
ORDER BY zeitpunkt ASC
SQL> desc db_performance_temp
Name Null? Typ
ZEITPUNKT DATE
DB_SID VARCHAR2(30)
VALUE NUMBERI found the solution.
Anychart seems to have a problem with null values!
The corrupted sorting only occured for a specific set of search criteria and a specific day. At this day some values have been null.
I added a "nvl( [...], 0) for every value.
No I get a correct sort order. -
We are generating a part numbers index in CS5, but higher versions are available to me. The part number index will include about 17,000 part numbers. The part numbers include alphas and numbers. We need it to sort numeric and then numeric alpha.
For example we get this:
1C-4060
8-20
1P-2375
8-22
3E-4296
8-22
3G-3287
8-21
4C-3582
8-20
120-9143
8-8
120-9144
8-9
263-9056
8-5
263-9057
8-5
And we need this:
120-9143
8-8
120-9144
8-9
1C-4060
8-20
1P-2375
8-22
263-9056
8-5
263-9057
8-5
3E-4296
8-22
3G-3287
8-21
4C-3582
8-20
We tried the "SortParagraphs.jsx" script but it didn't complete because there were too many part numbers.I was hoping for a solution where I didn't have to slip the stories. That it would do them all together. SortParagraphs only works if I have all the part numbers in one text box. Thanks for your help.
When I select all the numbers and run the script to retain formats I get this error.
When I select the text box and run the script to retain formats it run but only if all the part numbers are in one text box. -
Sort order with filtered topics
When looking at all topics in a forum, the topics are listed by the date of the latest post. This makes a certain amount of sense.
Yet when I filter the display to only show me Open Questions, the display isn't sorted by date. I'm not sure what sort criteria is used, but it's not date. I'll see something posted the 6th, then the 5th, then the 4th, then the 5th again...
Is there a way to sort threads when looking at the filtered display?
DocThe problem still exists and there is no workaround. Just because there is a promise of an eventual fix does not mean the question has been answered. To answer the question, there must be either a reasonable workaround, or a permanent fix to the problem.
-
Hello All,
when the CCM search screen is brought into the SRM the items are displayed without any default sort order. is there a way to configure a specific order when the list is first displayed? i know that clicking on the column will enable sorting, but i would like to know if there is any setting that can predetermine the sort order before the list is displayed in SRM.
thx in advance for your answers.Greg: there is no Customizing setting you can control the sort order with. I feel your pain :). Short of modifying the system, the only way you may be able to achieve the desired functionality is BAdI /CCM/CSE_ENRICHMENT.
Cheers,
Serguei -
Frustrated and seeking help with a custom sort order...
I created a family photo album and arranged all of the pictures in a specific order and sync'd them with my iPad, unfortunately the pictures do not stay in the custom sequence.
I tried Batch renaming with a Custom Name and Index, but the renaming is applied to the pictures based on the date they were created and not by the way I have arranged them.
Is there a solution to my problem?
TIAI flagged fifty photos and from that selection I created an album. I went to the album and dragged the photos in to the order I wanted them to appear after selecting Manual. Each time I now choose the manual option it arranges the photos into the sequence I created.
The problem I'm having is that when I synchronize my iPad with iTunes the photos revert back to their original sort order, which is the default date they were brought in to Aperture.
As I said, I tried to give them new names and index numbers using a batch command AFTER I arranged them manually, which works, however the names are assigned to the photos sequentially starting with oldest photos and not to photos as I have arranged them.
Honestly, it would be easier for me to create a slideshow using the timeline in FCP, but a video is not what I'm after.
I hope I have answered your questions.
TIA -
I tryed to sort my pictures with buying Apps and following suggestion from apple, but without any success. In my opinion, the real solution is for Apple to offer us a choice of the photo sort order in ITunes. My preference would be filename, perhaps with options to choose the Date Taken attribute, file timestamp or date modified filestamp.
Not a problem when using iPhoto on a Mac, which the transfer of photos is primarily based on - not manually managing photo storage as seems to be common with Windoze.
The same should be available with a supported photo management app on a PC.
http://support.apple.com/kb/HT4221 -
Default photo sort order on IPhone syncing with iPhoto
Is there any way to get the Photos app on my IPhone 4 with iOS 6 to stop displaying my photos and events with the OLDEŚT pics and events at the top - displayed first?.
This means I can only get to my most recent events after extensive screen scrolling through my library of 4700 photos.
I have iPhoto on my iMac successfully configured to show most recent events first (at the top) but when I perform an ITunes photo sync this sort order reverses !
Apple programmers, are you listening ?1. No Apple programmers. Or any other Apple people are not listening. This is, as explained in the TOU you agreed to, strictly a user to user support forum. No Apple involvement
2 you want answers about iPhoto for UOS but are posting in the iPhoto for Mac forum. Posting in the correct forum will greatly enhance your possibility of getting a correct answer
3. I will request that you post be moved
LN -
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 PMTo 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 in with Evaluate function ( Next Quarter measure)
Hi All,
I have report requirement where I have to show measures for a particular geography for previous, current and next quarters in a pivotal view.
---------------Previous Quarter| Current Quarter| Next Quarter
Geography
ABC|xx|xx|xx
PQR|xx|xx|xx
XYZ|xx|xx|xx
Next quarter values are displayed for other geography like
ABC value is shown for XYZ and XYZ value is shown for PQR
I have derived measure for pervious quarter using Time Series Function > Ago function,
However the problem is with next quarter. I used following Evaluate Function to derive measure for next quarter.
EVALUATE ('LEAD(%1,1) over (order by %2)' AS DOUBLE PRECISION , X, Y)
Here X = Measure and Y = Level (Quarter)
X is delta of two other measures A and B.
X = (A- B)
Thanks,
SMAHi user10300020,
That's a fairly common problem with months that happens regardless of database source.
In the logical layer of OBIEE you can specify the sort order on the month name column. Just double click on the month name column and look for the option to set sort order based on a different column. I typically sort the month name based on the month number.
Give that a shot and tell me if it works.
-Joe -
ITunes 12 - Sort album with numbers in title by natural order
Hi All
Searched but cannot find a solution to this.
Now I've got iTunes 12, I noticed that when I added a new album titled "Triple J Like A Version 10", it sorts this album at the beginning of the sequential list of albums. i.e.:
Triple J Like A Version
Triple J Like A Version 10
Triple J Like A Version 2
Triple J Like A Version 3
etc
It should appear after Triple J Like A Version 9.
My other albums added on earlier versions of iTunes are fine. For example Triple J Hottest 100 Volume 10 comes after 9 & before 11 where it should be; Volume 20 comes after 19 & before 21.
Is there any way to change the sort order to sort numbers in their natural order?
Thanks
CraigPad out the sort values with leading zeros so the sort names become:
Triple J Like A Version 02
Triple J Like A Version 03
Triple J Like A Version 09
Triple J Like A Version 10
tt2 -
Can I transfer my hand made album sequence (sort order) defined in elemenst when I turn a local album into a mobile album used with IPAD. Or do I have to change the dates artificially?
Andrew, I know I am extremely late to the party but I too use Grid View. I had the same problem that you had but have found this to work for me. I used it and it is still holding as my default sorting even after switching between the Artist page and Grid View.
Once you are inside of the Artist page continue to click on the Album column until it shows Album by Artist/Year.
That will give you each album sorted by the year instead of it randomly sorting it for you each time you leave an Artist's page and then back again.
Hope this helps. -
Sort order column with a between filter
Hi all,
[using OBI-EE version 10.1.3.3.1]
I've got a column 'BLOCK_ROW' which contains values A,B,C....AA,AB,AC...BA,BB...FK,FL
Alphabetically this orders A,AA,AB.... which is incorrect. The order should be A,B,C...
To be able to sort correctly we added a column 'ROW_SORT' to our model, which is numeric. This column is set as the 'sort order column' in the repository and makes sure the sorting is done correctly.
So far, so good...
Now, I want to be able to use a 'between' filter on this column, e.g. between 'A' and 'C'. Unfortunately this returns A,B,C,AA,AB... while I want it to return A,B,C.
Is this possible?
Thanks,
Elio
Generated SQL:
select distinct T91353.BLOCK_ROW as c1,
T91353.ROW_SORT as c2
from
<table_name> T91353
where ( T91353.BLOCK_ROW between 'A' and 'C' )
order by c2
--> Sorting handled based on ROW_SORT, between filter not :(That will only do the trick in this particular example. Between 'A' and 'AA' will fail again and only returns A and AA while it should return A..Z and AA.
Using extra filters is always possible but I'm looking for a more robust solution, which also allows for dashboard 'between' prompts based on this column.
A workaround I came up with is to add a calculated field which concats an '_' in front of the single 'digit' values. This results in: A,B,_C,.....,AA,AB....FL. This set can be ordered alphabetically and this will work for now.
In the future, however, it might happen that the order of the letters will completely change. In the datamodel this can be achieved by changing the order of the numbers in ROW_SORT.
Example dataset:
BLOCK_ROW | ROW_SORT
Q | 1
D | 2
F | 3
AA | 4
A | 5
The filter 'between D and AA' should then result in D,F,AA.
Any suggestions?
Thanks,
Elio -
How to show the columns (and sequence and sort order) of an INDEX?
Assume I have an INDEX for an existing TABLE.
How can I find out the columns covered by this INDEX (and the sequence and sort order)?
Which table contains this information?
all_indexes does not.
Peteruser559463 wrote:
Assume I have an INDEX for an existing TABLE.
How can I find out the columns covered by this INDEX (and the sequence and sort order)?
Which table contains this information?
all_indexes does not.
Peter--
select table_name, index_name, column_name, column_position
from user_ind_columns
order by table_name, index_name, column_position;
Maybe you are looking for
-
any ideas as to why? I've exhausted my ideas and find any reason it shouldn't print as 8x10
-
Regarding impdp(urgent)
Hi all, can anyone tell appox how long will it take to import a table of 3433459 rows... because i have started impdp b4 2 hours ...and it is still running .......
-
How can i get ahold of an apple person
Hello, My name is wesley Stern and I can't find out how to get ahold of an Apple person to help me out. I just got locked out of buying apps because i exceeded the maximum amount of times I can answer a security question. Please Help.
-
I tried to import a JAVA Class inside a Form but I got the error: "PDE-UJI001 Failed to create the JVM". How can I solve it? How can I install the JVM? I have just convert my apllication from forms 5.0.6 to 6.0.8.17.1, I have no experience in WEB dev
-
Premiere Pro CS6 not playing audio on imported MP4 files.
I am editing a series of MP4 clips shot with a Canon Vixia, and for some reason, Premiere Pro CS6 will not play the audio on a few of the imported files. All of the clips were videotaped with the same camera. I know that there is audio on the clips i