TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ankit Shukla
NA
681
117.6k
sorting with array.
Aug 20 2015 12:42 AM
Hi,
I faced a question in interview..
Q: Suppose I have a table like this:
Name | E1 | E2
------------|-------|------------------------
A | 9 | 6
B | 5 | 7
C | 8 | 9
D | 5 | 9
E | 9 | 9
Arrange 'Name' sorted by assending order of 'E1'.
Name | E1 | E2
---------|-----|------------------------
A | 9 | 6
E | 9 | 9
C | 8 | 9
B | 5 | 7
D | 5 | 9
then if E1 is same so sorted by E2.
Name | E1 | E2
---------|-----|------------------------
E | 9 | 9
A | 9 | 6
C | 8 | 9
D | 5 | 9
B | 5 | 7
So how can we do this with array?
Reply
Answers (
11
)
How Can I Print Multiple Test Reports To CrystalReports C#
Controls Validation