                         time24 = "#{hour + 12}:#{minutes}"
 
                 _sortAsc = (a, b) ->
-                    a = _parseTime a
-                    b = _parseTime b
-                    a = new Date "04-22-2014 #{a}"
-                    b = new Date "04-22-2014 #{b}"
-                    a - b
+                    a = _parseTime(a)
+                    b = _parseTime(b)
+                    new Date("04-22-2014 #{a}") - new Date("04-22-2014 #{b}")
 
                 _sortDesc = (a, b) ->
-                    a = _parseTime a
-                    b = _parseTime b
-                    a = new Date "04-22-2014 #{a}"
-                    b = new Date "04-22-2014 #{b}"
-                    b - a
+                    a = _parseTime(a)
+                    b = _parseTime(b)
+                    new Date("04-22-2014 #{b}") - new Date("04-22-2014 #{a}")
 
                 values = if direction is 'ascending' then values.sort _sortAsc else values.sort _sortDesc
-                console.log values
+
+        renderSort: (values, direction, list) =>
+            values = @sortValues values, direction
+            listHtml = ''
+
+            $.each values, (key, value) ->
+                listHtml += "<li>#{value}</li>"
+
+            list.html listHtml
 
     new DrmSort()
 

            self = @

            $('.drm-sort-list').on 'click', ->
                values = self.getValues.call @
                direction = $(@).data 'sort'
                self.sortValues values, direction

        getValues: ->
            that = $ @
            listId = that.data 'list'
            list = $ "ul##{listId}"
            listItems = list.find 'li'
            values = []


                    b - a

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

            else if type is 'time'
                _parseTime = (time) ->
