Take the 2-minute tour ×
Programming Puzzles & Code Golf Stack Exchange is a question and answer site for programming puzzle enthusiasts and code golfers. It's 100% free, no registration required.

I have class named account i am entring information account[0].id=5; account[0].name=roben; Another information account[1].id=4; account[1].name=roz; The problem i wanna sort information, It depends on the id number of the smallest to largest with change name also After sort Index account.id [0 1] [4 5] Index account.name [0 1 ] [Roz Roben]

Cause i wanna use binary search

share|improve this question

put on hold as off-topic by randomra, Peter Taylor, Tony Ellis, jimmy23013, Doorknob 2 days ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This site is for programming contests and challenges. General programming questions are off-topic here. You may be able to get help on Stack Overflow." – randomra, Peter Taylor, Tony Ellis, jimmy23013, Doorknob
If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Welcome to Programming Puzzles & Code Golf Stack Exchange! This site is for programming contests / challenges, not general programming questions. For those, try Stack Overflow, but be sure you read their help center first to make sure your question is of high quality and on-topic. Thanks! –  Doorknob 2 days ago