Started inclusion of collection sorting and progress serialization in IndexDatabase