Gulp newbie here, I downloaded gulp-order for ordering js files when concating *.js because some of my javascript files require jquery to load first.
Below are my gulpfile.js that have order,concat,rename & uglify.
var date = new Date();
var uniq = date.getTime();
gulp.task('admin-scripts', function() {
    return gulp.src(['assets/admin/js/*.js','!assets/admin/js/respond.min.js','!assets/admin/js/html5shiv.js'])
        .pipe(order([
            "assets/admin/js/jquery.min.js",
            'assets/admin/js/*.js'
        ]))
        .pipe(concat(uniq+'admin.js'))
        .pipe(gulp.dest('build/assets/admin/js/'))
        .pipe(rename(uniq+'admin.min.js'))
        .pipe(uglify())
        .pipe(gulp.dest('build/assets/admin/js/'));
});
But seems the ordering is not working.
the ordering is base on alphabet a.js > z.js instead of jquery.min.js > a.js > z.js
is there anything I'd code wrongly on the gulpfile.js?
 
    