tag:blogger.com,1999:blog-35413012.post116104420094782952..comments2023-09-30T07:11:07.707-06:00Comments on Line by Line: Natural Sort in C#Jakehttp://www.blogger.com/profile/06861574250425380767noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-35413012.post-63472833327846808202007-05-28T00:26:00.000-06:002007-05-28T00:26:00.000-06:00I can host your files. I have plenty of bandwidth ...I can host your files. I have plenty of bandwidth for you. Please contact me at boston AT savinet.net . I really like the product, I need to download your version with the demo. <BR/><BR/>Also is it possible to show the uploaded image like either 1 by 1 or the grid-like pattern in the original SWFUploadAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35413012.post-249329315983773892007-03-09T00:37:00.000-07:002007-03-09T00:37:00.000-07:00Good point about the book notation. I checked the...Good point about the book notation. I checked the same example against the natural sort in Oracle and it behaves in the same fashion as your sort does.<BR/><BR/>For my purpose it was exactly what I needed, at first I thought the presence of decimals was going to be an issue for my client but they are using the decimals as a sub indicator instead of a true "decimal" value.<BR/><BR/>Thanks for Jacques Greenhttps://www.blogger.com/profile/14077234173286615945noreply@blogger.comtag:blogger.com,1999:blog-35413012.post-11559465631788220632007-03-08T15:48:00.000-07:002007-03-08T15:48:00.000-07:00I hadn't thought about that sorting case. It is a...I hadn't thought about that sorting case. It is a good point and you are exactly right.<BR/><BR/>The results you are getting are by design.<BR/><BR/>It is not uncommon for books or manuals to be divided in to sections and sub-sections.<BR/><BR/>"Section 2.1"<BR/>.<BR/>.<BR/>.<BR/>"Section 2.9"<BR/>"Section 2.10"<BR/>"Section 2.11"<BR/><BR/>Natural Sort is designed with this case in mind.<BR/><BRJakehttps://www.blogger.com/profile/06861574250425380767noreply@blogger.comtag:blogger.com,1999:blog-35413012.post-21515252395172325802007-03-08T15:09:00.000-07:002007-03-08T15:09:00.000-07:00Works great unless you're using decimal numbers.Fo...Works great unless you're using decimal numbers.<BR/><BR/>For example two strings<BR/><BR/>"my string 2.4"<BR/>"my string 2.11"<BR/><BR/>will sort in the following order<BR/>"my string 2.4"<BR/>"my string 2.11"<BR/><BR/>but, obviously they should be<BR/>"my string 2.11"<BR/>"my string 2.4"<BR/>for a true natural order.Jacques Greenhttps://www.blogger.com/profile/14077234173286615945noreply@blogger.com