$variables was not being set, the sort function was expecting an array b...

Variable not being set in the variables plugin