reOrder the SQLActions of realm