Fix select * and select cf.* ordering when index table used