Fix of snippet msGetOrder