Ever wanted to force a file to be loaded last when using grunt, say when using grunt-contrib-concat?

Well after searching about a bit I found this little gem:

// All files in alpha order, but with bar.js at the end.
{src: ['foo/*.js', '!foo/bar.js', 'foo/bar.js'], dest: ...}

This code is taken straight from configuring tasks under the “Globbing patterns” section. Pretty obvious when you think about it …