benchmark amends and sorting