modified sorting js to new layout
fixed crush tests
working sort animation
fixed event delegation