Get weights in order of ID