Add generic at insertion sorting