sorting an array can be difficult... :>