sorts movies at the end