When you use more than one libraries with jquery which use $ sign for
selection of code block,
use following scripts.
jQuery.noConflict();
// instead of $ use jQuery as
jQuery(document).ready(
function(){
});This will remove the conflict between different libraries. I think, no need to set the order for libraries to load.

