add Comparable to IDrawable and IVertexBuffer

This allows us to sort drawable elements by vertex ID, to reduce the
number of times we have to switch between buffer objects.