rewrite fragment sorting to account for multiple fragments with the same index
rewrite all fragment indices on startup
additional fragment tests
update future classes when syncing