Change sort_index() to build_index() each time on execution of vee.