from typing import List


def orderings3() -> List[List[int]]:
  """Enumerates the storage orderings for an input with rank 3."""
  return [[0, 1, 2], [0, 2, 1], [1, 0, 2], [1, 2, 0], [2, 0, 1], [2, 1, 0]]