There are many type of sorting technique. You can use bubble sort or selection sort.
You can sort with inbuilt function also. See this code. Here I have sort with inbuilt function.
sadia aslamy you can use any sorting technique on this list if execution time and memory is not a question. The easiest sorting technique is selection sort and bubble sort. The fastest and efficient technique is quick sort. There are other techniques also which you may find easy or good like merge, cycle, radix, heap and many more.. some basics are given in the learning section.
Aman don't spam in Q&A section with external video links as this is considered as spam and continue spam over the section of app will result in account ban so please refrain to post any kind of spamy links here.