Results 1 to 2 of 2
- 10-21-2010, 02:28 AM #1
Member
- Join Date
- Oct 2010
- Posts
- 1
- Rep Power
- 0
sorting a set of data by 2 catagories?
I have to write a program that sorts the data of employees in a company. I have to sort the data, first, by ethnicity. Second, sort the name alphabetically within the ethnicity. I have no problem to sort them separately, but i have absolutely no idea of how to sort the ethnicity then the name within the ethnicity. Could you guys give me some idea? THanks!
- 10-21-2010, 04:04 AM #2
Senior Member
- Join Date
- Oct 2010
- Location
- Germany
- Posts
- 785
- Rep Power
- 12
Similar Threads
-
Sorting ArrayList by object data
By drymsza1234 in forum New To JavaReplies: 2Last Post: 04-15-2010, 01:22 AM -
Sorting data
By yrollgayanth in forum Advanced JavaReplies: 7Last Post: 12-30-2009, 06:16 PM -
Sorting data in a Vector
By SBL in forum AWT / SwingReplies: 11Last Post: 11-27-2009, 03:20 AM -
sorting data in txt file
By cassysumandak in forum New To JavaReplies: 1Last Post: 04-12-2009, 03:02 AM -
Data Sorting in a .data file using java
By stutiger99 in forum New To JavaReplies: 2Last Post: 10-08-2008, 02:52 AM
Bookmarks