Sort:  

Thanks robot! This is adapted from another post I wrote. Very sophisticated algorithm 😀