             _sortAsc = (a, b) ->
                 _a = new Date _patterns.monthDayYear.exec(a)
                 _b = new Date _patterns.monthDayYear.exec(b)
-                _a - _b
+                return _a - _b
 
             _sortDesc = (a, b) ->
                 _a = new Date _patterns.monthDayYear.exec(a)
                 _b = new Date _patterns.monthDayYear.exec(b)
-                _b - _a
+                return _b - _a
 
             if direction is 'ascending' then values.sort _sortAsc else values.sort _sortDesc    
 

            types = []

            _isDate = (value) ->
                if _patterns.monthDayYear.test(value) then true else false

            _isNumber = (value) ->
                if _patterns.number.test(value) then true else false

            _isAlpha = (value) ->
                if _patterns.alpha.test(value) then true else false

            _isTime = (value) ->
                if _patterns.time.test(value) then true else false

            $.each values, ->
                if _isDate.call self, @

                _b = _cleanAlpha(b).toLowerCase()

                if _a < _b
                    return 1
                else if _a > _b
                    return -1
                else if _a is _b
                    return 0

            if direction is 'ascending' then values.sort _sortAsc else values.sort _sortDesc

        else if type is 'number'
            _sortAsc = (a, b) ->
                return parseFloat(a) - parseFloat(b)

            _sortDesc = (a, b) ->
                return parseFloat(b) - parseFloat(a)

            if direction is 'ascending' then values.sort _sortAsc else values.sort _sortDesc

