Home Forums SQL Server 2008 T-SQL (SS2K8) ORDER BY = Bubble Sort ? Quick Sort ? Insertion Sort ? RE: ORDER BY = Bubble Sort ? Quick Sort ? Insertion Sort ?

  • karthik M (3/7/2013)


    I have a table with 5 rows.

    100

    5

    232

    534453

    23

    No index has been created.

    If I use ORDER BY , which alogirthm is used to do this sort operation?

    5

    23

    100

    232

    534453

    Again, why? It does it and it does it quickly.