add sort indexes for contracts and contributions to speed up default piston record sorting