Offers a sortable feature for your Symfony2 admin listing
The SonataAdminBundle provides a cookbook article here :
By default, this extension works with Doctrine ORM, but you can choose to use Doctrine MongoDB by defining the driver configuration :
# app/config/config.yml
pix_sortable_behavior:
db_driver: mongodb # default value : orm
position_field:
default: sort #default value : position
entities:
AppBundle/Entity/Foobar: order
AppBundle/Entity/Baz: rang