Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1 2  Previous   Next
Sort title only looking at first character in a title starting with numbers.
Author Message
DVD Profiler Unlimited RegistrantWaterman981
Registered: March 27, 2007
Posts: 18
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I searched and couldn't find anything about this, my search fu is probably broken...

When I do a sort by title, all of the titles with a number at the beginning is only parsed one character, which makes all the titles out of order.  Here's a screen shot:



It should be:

10 Things I Hate About You
50 First Dates
300
2001
2010

Anyone else see this?  Did I miss a discussion about this, or is this something to get fixed?
DVD Profiler Unlimited RegistrantWhite Pongo, Jr.
No, I iz no Cheshire Cat!
Registered: August 22, 2007
Reputation: High Rating
Posts: 1,807
Posted:
PM this userDirect link to this postReply with quote
Quoting Waterman981:
Quote:
I searched and couldn't find anything about this, my search fu is probably broken...

When I do a sort by title, all of the titles with a number at the beginning is only parsed one character, which makes all the titles out of order.  Here's a screen shot:



It should be:

10 Things I Hate About You
50 First Dates
300
2001
2010

Anyone else see this?  Did I miss a discussion about this, or is this something to get fixed?


Titles are sorted by character: "1" is less than "2", so "10" is listed before "2001", and so on.
That's the way it works.
This issues was discussed in the past, try and use Google with "site:invelos.com" if you want to retrieve old threads.
-- Enry
DVD Profiler Unlimited RegistrantStar ContributorJimmy S
Registered: March 15, 2007
Canada Posts: 1,982
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Waterman981:
Quote:



It should be:

10 Things I Hate About You
50 First Dates
300
2001
2010

Anyone else see this?  Did I miss a discussion about this, or is this something to get fixed?

Just change your sort title and that will corect the problem temporary. I've not try it but usually that's work.
0010 0050 0300 2001 2010
 Last edited: by Jimmy S
DVD Profiler Unlimited RegistrantStar ContributorWinston Smith
Don't be discommodious
Registered: March 13, 2007
United States Posts: 21,610
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Also sort title for your local is a personal choice, you cannot change the Sort title for the Online database, that is determined by parameters set by Invelos, but your local can and should be sorted according to YOUR parameters.

Skip
ASSUME NOTHING!!!!!!
CBE, MBE, MoA and proud of it.
Outta here

Billy Video
DVD Profiler Unlimited RegistrantWaterman981
Registered: March 27, 2007
Posts: 18
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Thanks for the help everyone.  I did use Google with "site:invelos.com", but I was probably searching with the wrong terms.  Like I said... I have crappy search fu!

I went with the leading 0's, but it would be nice if DVD Profiler would recognize complete numbers rather than just the first characters.

Skip, I wasn't too worried about the online sort.  I never plan on it being accurate as when I sort now by collection number I get multiple titles with the same collection number. 
DVD Profiler Unlimited RegistrantStar ContributorWinston Smith
Don't be discommodious
Registered: March 13, 2007
United States Posts: 21,610
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Waterman:

It's always worth metioning, you would be surprised what the bad old days were like, with users trying to get the Online to follow the preferences and trying to create sorts James Bond 004 instead of Thunderball. It was a nightmare.

Skip
ASSUME NOTHING!!!!!!
CBE, MBE, MoA and proud of it.
Outta here

Billy Video
DVD Profiler Unlimited RegistrantStar ContributorDaddy DVD
Lost in Translation
Registered: March 14, 2007
Netherlands Posts: 2,366
Posted:
PM this userDirect link to this postReply with quote
Quoting Waterman981:
Quote:
When I do a sort by title, all of the titles with a number at the beginning is only parsed one character, which makes all the titles out of order.

Funny, I never noticed this before.

Quoting AESP_pres:
Quote:
Just change your sort title and that will corect the problem temporary. I've not try it but usually that's work.
0010 0050 0300 2001 2010

Yes, that's the way to solve it. Thanks!
Martin Zuidervliet

DVD Profiler Nederlands
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,741
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Waterman981:
Quote:
I searched and couldn't find anything about this, my search fu is probably broken...

When I do a sort by title, all of the titles with a number at the beginning is only parsed one character, which makes all the titles out of order.  Here's a screen shot:



It should be:

10 Things I Hate About You
50 First Dates
300
2001
2010

Anyone else see this?  Did I miss a discussion about this, or is this something to get fixed?


As a matter of fact it parses all characters, not just the first one. But it handles it as characters, not as numbers, thus "1" comes before "2", even if the whole string is "10" and "2".

I also solved the problem by finding my largest number and filling the others up with leading zeros.

Karsten
DVD Collectors Online

DVD Profiler Desktop and Mobile RegistrantStar ContributorJykke
Registered: March 13, 2007
Finland Posts: 413
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
I personally find it quite funny that some people want to sort DVD titles which start with numbers by the number. I have never even thought that an option for that is needed. Numbers in the title are just characters for me.

It would be a different case if some DVD titles comprise a series and the number in the title is a sequential number within the series.
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,741
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Jykke:
Quote:
I personally find it quite funny that some people want to sort DVD titles which start with numbers by the number.

Every library I've known handles it that way.

It's the same thing with articles: "a, an, the, eine, der, die, das" are ignored in the sorting. Otherwise a huge part of my collection would be found under "D"
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Unlimited RegistrantWhite Pongo, Jr.
No, I iz no Cheshire Cat!
Registered: August 22, 2007
Reputation: High Rating
Posts: 1,807
Posted:
PM this userDirect link to this postReply with quote
Quoting AESP_pres:
Quote:

Just change your sort title and that will corect the problem temporary. I've not try it but usually that's work.
0010 0050 0300 2001 2010


Or even five digits (00010, 00050, etc.), to take into account "20000 Leagues Under the Sea". 
-- Enry
 Last edited: by White Pongo, Jr.
DVD Profiler Desktop and Mobile RegistrantStar ContributorJykke
Registered: March 13, 2007
Finland Posts: 413
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting DJ Doena:
Quote:
Quoting Jykke:
Quote:
I personally find it quite funny that some people want to sort DVD titles which start with numbers by the number.

Every library I've known handles it that way.


I just checked and found that eg. Finnish standard SFS4600 instructs to sort numbers by the numeric order. But still I personally think it is silly and I'm quite happy with the current sorting in DVDP without any leading zeros. However, I wouldn't mind if Ken someday changes this.
DVD Profiler Unlimited RegistrantMsPaula
Ms Paula
Registered: March 14, 2007
United States Posts: 168
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Another option for the local sort title is to use the textual equivalent of the 'number' you see.

Fifty First Dates
Ten Things I Hate...
Three Hundred
Two Thousand One...
Two Thousand Ten...

Of course, you as the user would then have to know when looking for a numerically prefaced title, you should be looking for it as it would be spelled out.
 Last edited: by MsPaula
DVD Profiler Desktop and Mobile RegistrantAgrare
Registered: May 22, 2007
Reputation: High Rating
United States Posts: 1,033
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Jykke:
Quote:
Quoting DJ Doena:
Quote:
Quoting Jykke:
Quote:
I personally find it quite funny that some people want to sort DVD titles which start with numbers by the number.

Every library I've known handles it that way.


I just checked and found that eg. Finnish standard SFS4600 instructs to sort numbers by the numeric order. But still I personally think it is silly and I'm quite happy with the current sorting in DVDP without any leading zeros. However, I wouldn't mind if Ken someday changes this.


I wouldn't hold your breath as far as changing thats concerned. In order to change it Ken would have to write his own sort algorithm that would parse the title, find those starting with numbers, convert the String representation of that number to an actual number, sort those numerically first, then take the remaining titles (the ones that don't start with a number) and sort those.

It's wouldn't quite require to passes as you could sort in the current way first, than read through the titles (from start or end, depending on sort order) and once you find one that doesn't start with a number you know the rest won't start with a number so can split the list at that point and resort the first items by their numerical representation (which if their are equals you need to then go to the text, if any, after the number and do it the current way).

It would be similar to having the sort automatically ignore the, a, etc from the start of the titles. Ken currently doesn't do that, he put in the sort title to accommodate that, so I would expect that the sort title would be his answer to these numbers (prepending them with 0's)

I mean, even Microsoft sorts including The, A, etc and treating numbers (10 before 9) as their string and not a number. Thats why you see sequential titles (think tv episodes, comics) numbered 01 and not 1 (or 001).

As interesting as that custom sorting algorithm would be, I'd much rather him spend time on something else...such as custom tabs or a variety of other ideas that have been presented/asked for in the forums.

-Agrare
DVD Profiler Desktop and Mobile RegistrantStar ContributorJykke
Registered: March 13, 2007
Finland Posts: 413
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting Agrare:
Quote:
I mean, even Microsoft sorts including The, A, etc and treating numbers (10 before 9) as their string and not a number. Thats why you see sequential titles (think tv episodes, comics) numbered 01 and not 1 (or 001).


Actually it is not how Microsoft sorts. At least in Windows XP Explorer files titles starting with numbers are sorted by their numerical order (the silly way to me).

DVD Profiler Unlimited Registrantsmeehrrr
Registered: March 26, 2007
Posts: 196
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Agrare:
Quote:
I wouldn't hold your breath as far as changing thats concerned. In order to change it Ken would have to write his own sort algorithm that would parse the title, find those starting with numbers, convert the String representation of that number to an actual number, sort those numerically first, then take the remaining titles (the ones that don't start with a number) and sort those.

Actually I think it would be fairly trivial to write a comparison operator that handled numbers this way.  Five lines of code or so.  You don't need a new sort algorithm or two passes or anything.  All you need to know is that "20" < "100" < "A".
    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1 2  Previous   Next