Adding sort to collection index