# (reverse list)
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<a id="256"></a>
## (reverse list)
---
Reverse that list.
---
This function reverses the order of the items in a *list*.
### Examples
| Code | Returns |
| --- | --- |
| (setq v '("first" "second" "third")) | (first second third) |
| (**reverse** v) | (third second first) |
| (**reverse** '(1 2 3 4 5)) | (5 4 3 2 1\) |
**Tell me about...**
[(acad\_strlsort list)](%28acad_strlsort%20list%29.md)
[(last list)](%28last%20list%29.md)
[(length list)](%28length%20list%29.md)
[(listp item)](%28listp%20item%29.md)
[(setq symbol1 statement1 \[symbol2 statement2\] ...)](%28setq%20symbol1%20statement1%20-symbol2%20statement2-%20...%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28reverse%20list%29.md)