Click here to Skip to main content
11,710,472 members (86,696 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6
I am having list of car names and company names in my app. At this moment, the car names are sorted alphabetically and the corresponding company name is displayed in the current small box near the car name. How to sort the car name, according to the company name. The company name should be sorted alphabetically and corresponding car names to its right.
Posted 5-Aug-12 19:01pm
Comments
Sergey Alexandrovich Kryukov at 6-Aug-12 1:11am
   
Tried anything? So far, this is not even a question; and, after so many question you already asked, you should have learned that "asking" non-questions does not help you. Can you learn anything at all?
--SA
AshishChaudha at 6-Aug-12 1:40am
   
What you have tried so far...Show us your code..

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use qsort()[^].
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 549
1 OriginalGriff 255
2 Peter Leow 154
3 Maciej Los 120
4 Abhinav S 120
0 Maciej Los 95
1 Richard MacCutchan 90
2 Abhinav S 90
3 OriginalGriff 80
4 Member 4653839 50


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100