2017.04.26
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<body>
<script>
var arr = ['04', '01', '03', '05', '06'];
alert(arr);
alert(arr.sort(function (a, b) {
if (a < b) {
return -1;
}
else if (a > b) {
return 1;
}
else {
return 0;
}
}))
</script>
</body>
</html>