473,385 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Application of stable sort

Hi,

Could somebody suggest an application for the stable sorting technique? Any scenario where you've chosen a particular sorting algorithm because it is stable?

Thanks.
Mar 10 '09 #1
1 3963
kadghar
1,295 Expert 1GB
you can find that in wikipedia's Sorting Algorithm article.:

The sorting algorithm you chose, strongly deppends on what you need, and of what kind of data you're sorting. If you dont have much experiencie coding sorting algorithms, Bubble Sort will be perfect, since it's stable and easy to understand.

HTH
Mar 10 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jon Speer | last post by:
Apologies in advance if this topic has been covered. We have found that stable sort blows up when called with a single element (i.e. RandomAccessIterator beg = RandomAccessIterator end). Is...
3
by: Chris Brown | last post by:
Hello, I work for a company that sells a product with a VFP frontend/MSSQL backend, and we have become aware for many reasons the we need to switch over to ..net. The problem is that our...
142
by: Herr Lucifer | last post by:
As the founder of .NET framework, Microsoft claims that it invention will be the next best platform for programming in a near future. Now it is 2005, ..NET is 5 years old, and can talk and walk for...
2
by: cody | last post by:
I need a sort method for stable sorting, that is, if two values have the same value they won't be swapped. Will there be such a thing in whidbey? -- cody www.deutronium.de.vu ||...
0
by: grman2005 | last post by:
I am trying to prove with writing code in a megre sort alogorithm code in order to show that is stable but I cannot manage. Have you any idea how this is impmented? I know that I have to check for...
30
by: gaoxtwarrior | last post by:
a sort which is stable means it keeps the object's original order. A sort which is in place is stable. does anyone can explain me what is sort in place? thx.
9
by: Gary Brown | last post by:
Hi, I need a stable sort and can find none in the MS libraries. Is there a simple one available on the internet? It needed for sorting various lists of maybe 1K elements - mostly ListView...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.