Sort:  

with some slight modifications, yes it can