       start: @start
       stop: @stop
 
+  stationary: =>
+    @$('> *').draggable('destroy')
+
   start: (event, ui) =>
     $dragging = $(event.target)
     @ordinalize(@$sorted())


  $sorted: ($elements) =>
    ($elements || @$('> *')).sort (a,b) ->
      aVal = parseInt($(a).data('position'))
      bVal = parseInt($(b).data('position'))
      return -1 if aVal < bVal
      return +1 if aVal > bVal
      return 0

  drag: (event, ui) =>

    @$el = $el
    @settings = $.extend {}, Gridly.settings, settings
    @ordinalize(@$('> *'))

  ordinalize: ($elements) =>
    for i in [0 .. $elements.length]
