w3.css 테이블 정렬 JavaScript를 사용하여 HTML 표를 정렬하는 방법을 알아보자. 정렬 함수 생성 1단계) Javascript 추가 function sortTable() { var table, rows, switching, i, x, y, shouldSwitch; table = document.getElementById(“myTable”); switching = true; /* Make a loop that will continue until no switching has been done: */ while (switching) { // Start by saying: no switching is done: switching = false; rows = table.rows; /* Loop through all table rows (except the first, which contains table headers): */ for (i…