extend the sorting demos