mstb Posted March 15, 2020 Posted March 15, 2020 hello every one I have a list like this ((5 x) (2 y) (4 Z) ........ And I want this ((2 y) (4 z) (5 x) ....... thanks Quote
Jonathan Handojo Posted March 15, 2020 Posted March 15, 2020 (edited) (vl-sort lst '(lambda (x y) (< (car x) (car y)))) Edited March 15, 2020 by Jonathan Handojo 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.