Properly sort vertices when dragging edges and faces. Remove doubly
nested enum from Entity.