Implementation of the Selection Sort Algorithm to Sort Data in PHP Programming Language
DOI:
https://doi.org/10.30596/jcositte.v4i1.14362Keywords:
Data Sorting, PHP, Selection SortAbstract
The role of algorithms in software or programming is very important, so it is necessary to understand the basic concept of the algorithm. The sorting algorithm is, selection sort (sorting by selecting) is the process of sorting data according to certain rules so that they are ordered regularly. Sorting data consisting of some criteria have priority where the data is sorted by language PHP programming that provides the sort function to sort array data
in ascending or descending order from smallest to largest. The sort function is sort data from smallest to largest digit or last letter of letters first each word prioritizes letters then numbers if the data is in that table data consists of a mixture of numbers and letters. The method used is searching the smallest element of the array and swaps it with the element in the first position, then this algorithm repeats the same thing again, namely looking for elements in second position, The process that will result from this system continues until all array elements successfully sorted.
References
E. Pratiwi,"Konsep Dasar Algoritma dan Pemrograman dengan Bahasa Java.," in Konsep Dasar Algoritma dan Pemrograman dengan Bahasa Java, samarinda, Peubah Press, 1 okt 2020, p. 107 Halaman.
Kangriyanto,"IMPLEMENTASI ALGORITMA SELECTION SORT”. https://kangriyanto.wordpress.com/2019/10/19/implementasi-algoritma-selection-sort- algoritma-mengurutkan- angka/.html, oct. 19, 2019 [ 22 desember 2022].
Anggreani, Desi, et al. "Perbandingan Efisiensi Algoritma Sorting dalam Penggunaan Bandwidth." ILKOM Jurnal Ilmiah 12.2 (2020): 96-103.
Sitepu, Roma Rio, Machudor Yusman, and Febi Eka Febriansyah."Implementasi Algoritma Bubble Sort Dan Selection Sort Menggunakan Arraylist Multidimensi Pada Pengurutan Data Multi Prioritas." Jurnal Komputasi 5.1 (2017).
Rahayuningsih, Panny Agustia."Analisis Perbandingan Kompleksitas Algoritma Pengurutan Nilai (Sorting)." EVOLUSI: Jurnal Sains dan Manajemen 4.2 (2016).
Retnoningsih, Endang. "Algoritma Pengurutan Data (Sorting) Dengan Metode Insertion Sort dan Selection Sort." Information Management For Educators And Professionals: Journal of Information Management 3.1 (2018): 95- 106.
Lasriana, Lasriana, and Aris Gunaryati. "SISTEM INFORMASI APOTEK BERBASIS WEB MENGGUNAKAN ALGORITMA SEQUENTIAL SEARCH DAN SELECTION SORT." JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika) 7.2 (2022): 392-401.
Almuya, "ALGORITMA DAN FLOWCHART BUBBLE SHORT DAN SELECTION SORT". http://senyumpena-almuya.blogspot.com/2016/04/algoritma-dan-flowchart-bubble- short.html, april. 16, 2016 [22 october 2022].
D. A. Hadi, "Membuat Sorting Metode Selection Sort". https://www.malasngoding.com/membuat- sorting- metode-selection-dengan-php/, [22 desember 2022].
Sari, I.P., & Batubara, I.H, (2021), User Interface Information System for Using Account Services (Joint Account) WEB-Based, International Journal of Economic, Technology and Social Sciences (Injects),pp. 462-469
Sari, I.P., & Batubara, I.H, (2021), Perancangan Sistem Informasi Laporan Keuangan Pada Apotek Menggunakan Algoritma K-NN, Seminar Nasional Teknologi Edukasi dan Humaniora (SiNTESa) 1 (2021 - ke 1)
Sari, I.P., Jannah,A., Meuraxa, A.M.,Syahfitri,A., & Omar, R, (2022), Perancangan Sistem Informasi Penginputan Database Mahasiswa Berbasis Web, Hello World Jurnal Ilmu Komputer 1 (2), 106-110
Sari, I.P., Azzahrah, A., Qathrunada, I.F., Lubis, N., & Anggraini, T, (2022), Perancangan Sistem Absensi Pegawai Kantoran Secara Online Pada Website Berbasis HTML dan CSS, Blend Sains Jurnal Teknik 1 (1), 8-15
Sari, I.P., Syahputra, A., Zaky, N., Sibuea, R.U., & Zakhir, Z (2022), Perancangan Sistem Aplikasi Penjualan dan Layanan Jasa Laundry Sepatu Berbasis Website, Blend Sains Jurnal Teknik 1 (1), 31-37
Sari, I.P., Ramadhani, F., & Al-Khowarizmi., (2021), Pengaruh Teknologi Informasi Terhadap Kewirausahaan Pada Aplikasi Perancangan Jual Beli Jamu Berbasis WEB, Prosiding Seminar Nasional Kewirausahaan 2 (1), 874-878
Sari, I.P., AK Al-Khowarizmi & IH Batubara, (2021), Cluster Analysis Using K-Means Algorithm and Fuzzy C-Means Clustering For Grouping Students' Abilities In Online Learning Process, Journal of Computer Science, Information Technology and Telecommunication, 139-144
Batubara., IH & Sari, I.P, (2021), Penggunaan software geogebra untuk meningkatkan kemampuan pemecahan masalah matematis mahasiswa, Scenario (Seminar of Social Sciences Engineering and Humaniora), 398-406
Sari, I.P., Batubara, I.H & AK Al-Khowarizmi, (2021), Sensitivity Of Obtaining Errors In The Combination Of Fuzzy And Neural Networks For Conducting Student Assessment On E-Learning, International Journal of Economic, Technology and Social Sciences (Injects) 2 (1), 331- 338
Sari, I.P, A Azzahrah, FQ Isnaini, L Nurkumala, A Thamita, (2022), Perancangan sistem absensi pegawai kantoran secara online pada website berbasis HTML dan CSS, Blend sains jurnal teknik 1 (1), 8-15
Sari, I.P., IH Batubara, M Basri, (2022), Implementasi Internet of Things Berbasis Website dalam Pemesanan Jasa Rumah Service Teknisi Komputer dan Jaringan Komputer, Blend Sains Jurnal Teknik 1 (2), 157-163
Sari, I.P., IH Batubara, AK Al-Khowarizmi, PP Hariani, (2022), Perancangan Sistem Informasi Pengelolaan Arsip Digital Berbasis Web untuk Mengatur Sistem Kearsipan di SMK Tri Karya, Wahana Jurnal Pengabdian kepada Masyarakat 1 (1), 18-24
Sari, I.P., IH Batubara, M Basri, (2023), Pengenalan Bangun Ruang Menggunakan Augmented Reality sebagai Media Pembelajaran, Hello World Jurnal Ilmu Komputer 1 (4), 209-215
Ramadhani, F., Sari, I.P., & Al-Khowarizmi., (2021), Pemanfaatan Aplikasi Online dalam Digitalisasi Pasar Tradisional di Medan, Prosiding Seminar Nasional Kewirausahaan 2 (1), 806-811
AK Al-Khowarizmi, IR Nasution, M Lubis, AR Lubis, (2020), The effect of a SECoS in crude palm oil forecasting to improve business intelligence, Bulletin of Electrical Engineering and Informatics 9 (4), 1604-1611
AK Al-Khowarizmi, F Fauzi, IP Sari, AP Sembiring, (2020), The effect of indonesian and hokkien mobile learning application models, Journal of Computer Science, Information Technology and Telecommunication
AK Al-Khowarizmi, (2020), Model Classification Of Nominal Value And The Original Of IDR Money By Applying Evolutionary Neural Network, Journal of Informatics and Telecommunication Engineering 3 (2), 258-265
Downloads
Published
Issue
Section
License
THE JCoSITTE COPYRIGHT TRANSFER FORM
The copyright to this article is transferred to Departement of Information Technology, Faculty of CS & IT UMSU. if and when the article is accepted for publication. The undersigned hereby transfers any and all rights in and to the paper including without limitation all copyrights to us. The undersigned hereby represents and warrants that the paper is original and that he/she is the author of the paper, except for material that is clearly identified as to its original source, with permission notices from the copyright owners where required. The undersigned represents that he/she has the power and authority to make and execute this assignment.
We declare that:
- This paper has not been published in the same form elsewhere.
- It will not be submitted anywhere else for publication prior to acceptance/rejection by this Journal.
- A copyright permission is obtained for materials published elsewhere and which require this permission for reproduction.
Furthermore, I/We hereby transfer the unlimited rights of publication of the above mentioned paper in whole to us. The copyright transfer covers the exclusive right to reproduce and distribute the article, including reprints, translations, photographic reproductions, microform, electronic form (offline, online) or any other reproductions of similar nature.
The corresponding author signs for and accepts responsibility for releasing this material on behalf of any and all co-authors. This agreement is to be signed by at least one of the authors who have obtained the assent of the co-author(s) where applicable. After submission of this agreement signed by the corresponding author, changes of authorship or in the order of the authors listed will not be accepted.




.png)
