Implemented IComparable<Element>

Mainly just wanted to test doing commits to antoher's project, but hey,
I'm sure we'll need to sort a List<Element> at some point.