Adding ordering capabilities to the listing view