Sorting is the process of arranging the elements of an array so that they can be placed either in ascending or descending order.
•Selection sort finds the smallest element in the array and place it on the first place on the list.
• then it finds the second smallest element in the array and place it on the second place.
• This process continues until all the elements are moved to their correct ordering.
To learn about the selection sort you must watch this recorded lecture.
•Bubble sort is known as the simplest sorting technique.
•In bubble sort current element is compared with the next element. If current element is greater than the next element, it is swapped.
To learn about the implementation of bubble sort you should watch this video lecture.