Updated clipboard API to properly handle show order