correct order k-best