             _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    
 

                _b = _cleanAlpha(b).toLowerCase()

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

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

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

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

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


                    else if _hour.length is 1
                        _hour = "0#{_hour}"
                        
                    return "#{_hour}:#{_minutes}"

                else if _ampm is 'pm'
                    return "#{_hour + 12}:#{_minutes}"

            _sortAsc = (a, b) ->
                _a = _parseTime _patterns.time.exec(a)
                _b = _parseTime _patterns.time.exec(b)
                return new Date("04-22-2014 #{_a}") - new Date("04-22-2014 #{_b}")

            _sortDesc = (a, b) ->
                _a = _parseTime _patterns.time.exec(a)
                _b = _parseTime _patterns.time.exec(b)
                return new Date("04-22-2014 #{_b}") - new Date("04-22-2014 #{_a}")

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

