Ported the sortable collection view from coffeescript