Instructions

1. Aim is to sort the list in ascending order starting from Left to right.
2. Place the smallest card in the left most position and largest in the right most.
3. To sort the list drag and drop the cards into its valid position.
4. If it is a valid move, the card will swap it's position or else it won't get dropped there.
5. Valid move will be awarded 1 point and an invalid move will subtract 1 point.
6. Repeat the same procedure, for all the positions amongst the remaining array which is not sorted as yet.

Activity Panel

No activity recorded yet

Your every move will be recorded in the activity panel.
Valid and invalid moves will be displayed in
different colors.

Score Panel

Valid Moves

Invalid Moves

Total Score

Algorithm

1. Start with very first two elements, compare them to check which one is greater.
2. We swap these cards.
3. Reach at the end of the array by swaping the cards pairwise.
4. At each iteration, we get a number on the right which is larger than the numbers on its left.
5. Repeat until the list is sorted in ascending order.