Feature/dragndrop ordering

Includes tests for the "backend" parts, still need to figure out how to test the frontend stuff adequately.