// --------------------
// Sequelize extra
// --------------------

// modules
var Sequelize = require('sequelize'),
	sequelizeDefiner = require('sequelize-definer'),
	sequelizeHierarchy = require('sequelize-hierarchy'),
	sequelizeVirtualFields = require('sequelize-virtual-fields'),
	Utils = Sequelize.Utils,
	_ = Utils._;

// imports
var utils = require('./utils'),
	dataTypes = require('./dataTypes'),
	getValues = require('./getValues');

// exports
module.exports = Sequelize;

// load plugins
sequelizeDefiner(Sequelize);
sequelizeHierarchy(Sequelize);
sequelizeVirtualFields(Sequelize);

// additional data types
_.extend(Sequelize, dataTypes);

// add getValues methods
Sequelize.getValues = getValues.getValuesSequelize;
Sequelize.Instance.prototype.getValues = getValues.getValuesInstance;
Sequelize.getValuesDedup = getValues.getValuesDedupSequelize;
Sequelize.Instance.prototype.getValuesDedup = getValues.getValuesDedupInstance;

@@ -170,25 +170,29 @@
 equelize
-Hierarchy
+VirtualFields
  = requi
@@ -209,17 +209,22 @@
 ize-
-hierarchy
+virtual-fields
 '),%0A
@@ -229,37 +229,33 @@
 ,%0A%09sequelize
-VirtualFields
+Hierarchy
  = require('
@@ -260,38 +260,33 @@
 ('sequelize-
-virtual-fields
+hierarchy
 '),%0A%09Utils =
@@ -530,25 +530,29 @@
 equelize
-Hierarchy
+VirtualFields
 (Sequeli
@@ -561,37 +561,33 @@
 );%0Asequelize
-VirtualFields
+Hierarchy
 (Sequelize);

Change plugin order of execution