Can I combine these js files?

Hi all last question for today! These two files are called inline as so in my webpage:
<script src=‘./include/sql.js’></script>
<script src=‘./include/ajax.js’></script>

can I combine them? Thank you

sql.js

function distinct(a,property_name){
	var x=[];
	for(var i in a){
		x[a[i][property_name]]=a[i][property_name];
	}
	return(x);
}
function where(a,property_name,value){
	var x=[];
	for(var i in a){
		if(a[i][property_name]==value){
			x[i]=a[i];
		}
	}
	return(x);
}

function order_by(data, field){
	var data1=data;
	data1.sort(function(a,b){return((a[field].toLowerCase() < b[field].toLowerCase()) ? -1 : ((a[field].toLowerCase() > b[field].toLowerCase()) ? 1 : 0));});
	return(data1);
}


Ajax

function ajax(url, vars, callbackFunction){
 
        var request = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("MSXML2.XMLHTTP.3.0");
 
        request.open("POST", url, true);
        request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 
 
        request.onreadystatechange = function(){
 
                if (request.readyState == 4 && request.status == 200) {
 
                        if (request.responseText){
 
                                callbackFunction(request.responseText);
                        }
                }
        }
        request.send(vars);
}

Yes, since they’re function definitions, you can put all that into a single file. You could probably also combine them into another file, which you must have, as these functions won’t do anything by themselves.

Thank you for the reply really helpful! Have a great day!