code: def post(method, hmc, uri, uri_parms, body, logon_required,
               wait_for_completion):
          
          assert wait_for_completion is True  # synchronous operation
          console_uri = '/api/console'
          try:
              console = hmc.lookup_by_uri(console_uri)
          except KeyError:
              raise InvalidResourceError(method, uri)
          check_required_fields(method, uri, body, ['user-pattern-uris'])
          new_order_uris = body['user-pattern-uris']
          objs = console.user_patterns.list()
          obj_by_uri = {}
          for obj in objs:
              obj_by_uri[obj.uri] = obj
          # Perform the reordering in the faked HMC:
          for uri in new_order_uris:
              obj = obj_by_uri[uri]
              console.user_patterns.remove(obj.oid)  # remove from old position
              console.user_patterns.add(obj.properties)
docs: Operation: Reorder User Patterns.