Ashish Pandey Total Post:128 Points:898 Posted by Ashish Pandey March-11-2016 1:17 AM erlang erlang 1 Reply(s) 1504 View(s) Ratings: Rate this: I am beginner in Erlang programming. I want to sort according to the second element of each tuple. I already use usort/1 and it works fine but it only works with the first element. So I think we need to swap each elements and after we do sort operation and after swap it back. Can you tell me any other easiest solution to sort tuple lists. Thankyou.