# system.kanoa.lot.reorderRouteStepEvents(routesStepEvents, userId)

Given a dictionary of routeSteps, this function will update the step number for each step in the database

---
### Parameters
**routesStepEvents** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - routeStepEventId</td><td>Integer</td><td>Required if this is for a route step event</td></tr>	
	</tbody>
</table>

**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**success** `Boolean`<br />
**message** `String` None if success<br />

---
### Example
```python
```
