Adding support to sort and remove duplicates in simple lists
Adding support for sorting and remove duplicates. Issue #30