It's not that similar. The `sortDocs` method need to take `from` into account all the time, while the `sortDocsForScroll` method never needs to.