Class representing a list that is always sorted