Chapter 10

Sorting

Chapter Outline

10.1 INTRODUCTION

In our daily life, we keep the information in particular order. This helps in accessing any part of it easily. Likewise, in database programs, large data is maintained in the form of records. It would be very difficult if data or records were unsorted. It is very boring to find a particular record if data or records are randomly stored. The process of sorting is essential for database applications.

Sorting is a process in which records are arranged in ascending or descending order. A group ...

Get Introduction to Data Structures in C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.