Sort files in Utils.require_pattern