Post History
#1: Initial revision
# [Haskell], 29 bytes <!-- language-all: lang-hs --> import Data.List foldr sortBy [Try it online!][TIO-kt2n9rdx] [Haskell]: https://www.haskell.org/ [TIO-kt2n9rdx]: https://tio.run/##lVLBasJAEL37FaOXbiAtbnoTFGp7USoeUihUPYxmbZYm2bDZovHn7WRj0E1taSG7MG/em5m3mRiLD5Ekx6NMc6UNPKHBu2dZmM52uFVJpKEgeFweU5QZDCFSHQAjCmMvfhkEnY4pcwEvgERkC1z5sEC4HYG95joSWmbvK494lWYwABbGagfowXBkZUSbzIF5NYGhD2vKQYr5DHISE7YlGoGjEeSfJjQaesusV1fkVckXIJDanBAahGZcQO8x1uRKZghTFWeFIhGAD73QiB3q6Af0NZZGtLD5zVhLbDPDVJr4hI1lkjhAVbzVYYqpKBxSiElStljnqWeiFLq4hF2omcMB7SDuvG@4iVGXTue63FirXZvlah/Wa@EqG57T1bq9rFY7u6a74vb85ivf/rol/fBqMzYqzVELYDulo4LWoNsF7jXhug5tod8UfVfRrxTNSgb1ArFJZnxoLu@UajaJcR8C@upW7N5G96cocCJi8naOn3PfIstsXLM9gSWdQ2VyT@mSziHwLp3tOeyD2vOf@CUn9B/8AyfEvtDxCw "Haskell – Try It Online"