How to add sorting in drupal pagination result <p>I am new in drupal and I am using drupal 6. I have a listing of record with pagination. Now I have to add sorting in result but It is not possible to alter the query for get sorted result. So Is there any way so I can modify result fetching from query and then modify Pagination lisiting.</p> <p>thanks in advance.</p>