I'm new to prolog programing. I have gone through several sample answers, but couldn't find solution to my problem.
Here's my problem:
A list contains name and age [(ann,34),(john, 40), (dev,23)]
, and I wanted to sort the list with increasing order of age, without using any predefined prolog functions. Is there a way I can do it?