sorting in class c++

Write your question here.
how can we use selection sort in class.
For example i have user input for three numbers and I have to arrange that numbers using selection sort.

Name
Susan Meyers
Mark Jones
Joy Rogers

ID Number
47899
39119
81774

Department

Accounting
IT
Manufacturing

Position

Vice President
Programmer
Engineer



***************************Sample output*************(sort according to id number)
Mark Jones
39119
IT
Programmer

Susan Meyers
47899
Accounting
Vice President


Joy Rogers
81774
Manufacturing
Engineer
***************************************
Last edited on
Topic archived. No new replies allowed.