Sort features so they are equatable