Add internal methods for appending and trimming indexes. Useful for implementing sorting and queuing utilities.